Historical signature: SetModelType(spawn, value)
Parameter and behavior details in the historical explanation are under review against the current implementation.
Function: SetModelType(spawn, value)
Description:
Set's the Spawn's model type to the value supplied, 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.
SetModelType(NPC, 65)
Evidence: server/SpawnScripts/OutpostOverlord/aTunarianWolfmaster.lua:14; binding EQ2Emu_lua_SetModelType.
Current registration: WorldServer/Lua/LuaInterface.cpp. Historical explanation: EQ2Emu Lua documentation.