Historical signature: SetInfoStructSInt(spawn, field, value)
Parameter and behavior details in the historical explanation are under review against the current implementation.
Function: SetInfoStructSInt(spawn, field, value)
Description:
Sets the signed integer field to the value provided. See https://github.com/emagi/eq2emu/blob/main/docs/data_types/info_struct.md for field types.
Parameters:
spawn (Spawn) - Spawn object representing spawn.
field (string) - String field.
value (int64) - 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.
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.