1
0
EQ2Emu/docs/lua_functions/IsOnAutoMount.md
2025-05-25 21:42:32 -04:00

20 lines
422 B
Markdown

### Function: IsOnAutoMount(player)
**Description:**
Return's true if Player is on a auto-mount (like griffon).
**Parameters:**
- `player` (Spawn) - Spawn object representing `player`.
**Returns:** True if Player is on auto mount, otherwise false.
**Example:**
```lua
-- From ZoneScripts/Antonica.lua
function GriffonTower(Zone, Spawn)
if IsPlayer(Spawn) and IsOnAutoMount(Spawn) then
EndAutoMount(Spawn)
end
```