mirror of
https://github.com/ornfelt/azerothcore_lua_scripts
synced 2026-08-22 06:26:03 -04:00
9 lines
171 B
Lua
9 lines
171 B
Lua
|
|
local Waypoint = {};
|
||
|
|
|
||
|
|
function Waypoint.OnSpawn(event, creature)
|
||
|
|
creature:CanFly(true)
|
||
|
|
creature:SetDisableGravity(true)
|
||
|
|
end
|
||
|
|
|
||
|
|
RegisterCreatureEvent(1, 5, Waypoint.OnSpawn)
|