mirror of
https://github.com/emagi/eq2emu
synced 2026-08-12 18:23:04 -04:00
560 B
560 B
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 representingspawn.field(string) - Stringfield.value(uint64) - Integer valuevalue.
Returns: None.
Example:
-- From ItemScripts/discordimbuedroughspunhexdoll.lua
function examined(Item, Player)
SetInfoStructUInt(Player, "status_points", 20000)
end