Lua API
On this page
ObjDesc
Inherits from
The ObjDesc structure defines an objects visual appearance.
Fields:
ModelCount number
the number of models associated with this object
Palette number
palette DataID (minus 0x04000000)
PaletteCount number
the number of palettes associated with this object
TextureCount number
the number of textures associated with this object
Version number
always 0x11
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