Lua API
On this page
Item_SetState_S2C
Inherits from
Sets the current state of the object. Client appears to only process the following state changes post creation: NoDraw, LightingOn, Hidden
Fields:
ObjectId number
The object being changed
ObjectInstanceSequence number
The instance sequence value for this object (number of logins for players)
ObjectStateSequence number
The state sequence value for this object
State PhysicsState
The new state for the object
Methods:
GetPropertyKeys() : string[]
Returns a list of strings of all public property / field names. Useful for reflection on UserData in lua scripts
Returns:string[]
ToString() : string
Returns a string that represents the current object.
Returns:string