Historical signature: AddSpawnToGroup(spawn, new_group_id)
Parameter and behavior details in the historical explanation are under review against the current implementation.
Function: AddSpawnToGroup(spawn, new_group_id)
Description:
Combines Spawn into the specified new_group_id which will link the Spawn's together in an encounter and they will engage and assist each other as a group.
Parameters:
spawn (Spawn) - Spawn object representing spawn.
new_group_id (uint32) - Integer value new_group_id.
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.
AddSpawnToGroup(Gob1,1051222)
Evidence: server/SpawnScripts/IsleRefuge1/GoblinSaboteurFirepit.lua:49; binding EQ2Emu_lua_AddSpawnToGroup.
Current registration: WorldServer/Lua/LuaInterface.cpp. Historical explanation: EQ2Emu Lua documentation.