Function: SetAttackable(spawn, attackable)
Description: Sets the Spawn attackable or not.
Parameters:
spawn(Spawn) - Spawn object representingspawn.attackable(int32) - Integer valueattackable.
Returns: None.
SetAttackableRegistered in this checkout as EQ2Emu_lua_SetAttackable; implementation found at WorldServer/Lua/LuaFunctions.cpp:6148.
Historical signature: SetAttackable(spawn, attackable)
Parameter and behavior details in the historical explanation are under review against the current implementation.
Description: Sets the Spawn attackable or not.
Parameters:
spawn (Spawn) - Spawn object representing spawn.attackable (int32) - Integer value attackable.Returns: None.
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.
SetAttackable(rat, 1)
Evidence: server/Quests/FarJourneyFreeport/TasksaboardtheFarJourney.lua:150; binding EQ2Emu_lua_SetAttackable.
Current registration: WorldServer/Lua/LuaInterface.cpp. Historical explanation: EQ2Emu Lua documentation.