mirror of
https://github.com/emagi/eq2emu
synced 2026-08-12 18:23:04 -04:00
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