1
0
EQ2Emu/docs/lua_functions/GetMount.md

401 B

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:

-- From Spells/Commoner/AbyssalCarpet.lua
function precast(Caster)
 if GetMount(Caster) > 0 then
        return false
    end