1
0
EQ2Emu/docs/lua_functions/GetMount.md

20 lines
401 B
Markdown

### Function: GetMount(spawn)
**Description:**
Gets the spawn object that represents the mount for the Spawn provided.
**Parameters:**
- `spawn` (Spawn) - Spawn object representing `spawn`.
**Returns:** Mount Spawn object of the Spawn specified.
**Example:**
```lua
-- From Spells/Commoner/AbyssalCarpet.lua
function precast(Caster)
if GetMount(Caster) > 0 then
return false
end
```