Lua API
On this page

Item_UpdateObject_S2C

Inherits from

Update an existing objects data.

Fields:

ObjectDesc ObjDesc

updated model data

ObjectId number

the object being updated

PhysicsDesc PhysicsDesc

updated physics data

WeenieDesc PublicWeenieDesc

updated game data

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