mirror of
https://github.com/emagi/eq2emu
synced 2026-08-12 18:23:04 -04:00
422 B
422 B
Function: IsOnAutoMount(player)
Description: Return's true if Player is on a auto-mount (like griffon).
Parameters:
player(Spawn) - Spawn object representingplayer.
Returns: True if Player is on auto mount, otherwise false.
Example:
-- From ZoneScripts/Antonica.lua
function GriffonTower(Zone, Spawn)
if IsPlayer(Spawn) and IsOnAutoMount(Spawn) then
EndAutoMount(Spawn)
end