Historical signature: SetMount(spawn, value)
Parameter and behavior details in the historical explanation are under review against the current implementation.
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://eq2emu.com/index.php/developers/references by client version for more information.
Parameters:
spawn (Spawn) - Spawn object representing spawn.
value (int32) - Integer value value.
Returns: None.
Checked example
Active call in a local runtime Lua script. Argument count matches current fixed C++ readers. This is a contextual call pattern, not a tested standalone script.
SetMount(NPC, 6831)
Evidence: server/SpawnScripts/BeggarsCourt/AdjunctCaptainRommuls.lua:12; binding EQ2Emu_lua_SetMount.
Current registration: WorldServer/Lua/LuaInterface.cpp. Historical explanation: EQ2Emu Lua documentation.