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