Historical signature: SetInfoStructFloat(spawn, field, value)
Parameter and behavior details in the historical explanation are under review against the current implementation.
Function: SetInfoStructFloat(spawn, field, value)
Description:
Sets the float 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 (float) - Float 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.
SetInfoStructFloat(Pet, "str", Str)
Evidence: server/Spells/Summoner/Level1Pet.lua:29; binding EQ2Emu_lua_SetInfoStructFloat.
Current registration: WorldServer/Lua/LuaInterface.cpp. Historical explanation: EQ2Emu Lua documentation.