Lua functions

SetInfoStructSInt

Registered in this checkout as EQ2Emu_lua_SetInfoStructSInt; implementation found at WorldServer/Lua/LuaFunctions.cpp:14249.

Historical signature: SetInfoStructSInt(spawn, field, value)

Parameter and behavior details in the historical explanation are under review against the current implementation.

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.

SetInfoStructSInt(NPC, "hp_regen", 0)

Evidence: server/SpawnScripts/Generic/CombatModule.lua:104; binding EQ2Emu_lua_SetInfoStructSInt.

Current registration: WorldServer/Lua/LuaInterface.cpp. Historical explanation: EQ2Emu Lua documentation.