Historical signature: SetAggroRadius(spawn, distance, override_)
Parameter and behavior details in the historical explanation are under review against the current implementation.
Function: SetAggroRadius(spawn, distance, override_)
Description:
Sets the aggro radius of the Spawn(NPC). The override_ flag will set the base aggro radius to the same value.
Parameters:
spawn (Spawn) - Spawn object representing spawn.
distance (int32) - Distance distance.
override_ (int32) - Integer value override_.
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.
SetAggroRadius(NPC, 20, true)
Evidence: server/SpawnScripts/WailingCaves/GhiZardTheWorgMaster.lua:19; binding EQ2Emu_lua_SetAggroRadius.
Current registration: WorldServer/Lua/LuaInterface.cpp. Historical explanation: EQ2Emu Lua documentation.