534 B
534 B
Function: SetMount(spawn, value)
Description: Set's the Spawn's mount to the model type supplied as the value, see Model IDs in the Reference Lists https://wiki.eq2emu.com/ReferenceLists by client version for more information.
Parameters:
spawn
(Spawn) - Spawn object representingspawn
.value
(int32) - Integer valuevalue
.
Returns: None.
Example:
-- From SpawnScripts/Antonica/AGriffonTamer.lua
function QeynosToOracle(NPC, Spawn)
StartAutoMount(Spawn, 85)
SetMount(Spawn, 225)
end