eluna-scripts-ornfelt/lua/RandomScriptsforAzerothCore/FlyableWaypoints.lua

9 lines
171 B
Lua
Raw Permalink Normal View History

2024-02-16 07:57:26 +01:00
local Waypoint = {};
function Waypoint.OnSpawn(event, creature)
creature:CanFly(true)
creature:SetDisableGravity(true)
end
RegisterCreatureEvent(1, 5, Waypoint.OnSpawn)