Historical signature: SetInfoStructUInt(spawn, field, value)
Parameter and behavior details in the historical explanation are under review against the current implementation.
Function: SetInfoStructUInt(spawn, field, value)
Description:
Sets the unsigned 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 (uint64) - 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.
SetInfoStructUInt(NPC, "hp_regen_override", 1)
Evidence: server/SpawnScripts/antonica/Anguis.lua:16; binding EQ2Emu_lua_SetInfoStructUInt.
Current registration: WorldServer/Lua/LuaInterface.cpp. Historical explanation: EQ2Emu Lua documentation.