mirror of
https://github.com/araxiaonline/RandomScriptsforAzerothCore.git
synced 2026-06-16 03:42:20 -04:00
9 lines
179 B
Lua
9 lines
179 B
Lua
|
|
local Waypoint = {};
|
||
|
|
|
||
|
|
function Waypoint.OnSpawn(event, creature)
|
||
|
|
creature:CanFly(true)
|
||
|
|
creature:SetDisableGravity(true)
|
||
|
|
end
|
||
|
|
|
||
|
|
RegisterCreatureEvent(1, 5, Waypoint.OnSpawn)
|