mirror of
https://github.com/araxiaonline/RandomScriptsforAzerothCore.git
synced 2026-06-13 02:22:19 -04:00
Add files via upload
This commit is contained in:
8
MiscTools/FlyableWaypoints.lua
Normal file
8
MiscTools/FlyableWaypoints.lua
Normal file
@@ -0,0 +1,8 @@
|
||||
local Waypoint = {};
|
||||
|
||||
function Waypoint.OnSpawn(event, creature)
|
||||
creature:CanFly(true)
|
||||
creature:SetDisableGravity(true)
|
||||
end
|
||||
|
||||
RegisterCreatureEvent(1, 5, Waypoint.OnSpawn)
|
||||
Reference in New Issue
Block a user