User Tools

Site Tools


object

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Last revisionBoth sides next revision
object [2024/03/14 09:16] justinobject [2024/03/14 09:41] justin
Line 23: Line 23:
 |<object>.model|Name of the object's model (e.g. "tree").| |<object>.model|Name of the object's model (e.g. "tree").|
 |<object>.frame|Current [[animation]] frame (as a [[number]], with the first frame being 1). This can be used to either retrieve or change the model's current frame. If this property is changed and an [[animation]] is playing, the [[animation]] will first be stopped.| |<object>.frame|Current [[animation]] frame (as a [[number]], with the first frame being 1). This can be used to either retrieve or change the model's current frame. If this property is changed and an [[animation]] is playing, the [[animation]] will first be stopped.|
-|<object>.animation| |+|<object>.animation|Name of the animation currently playing for this object (as a [[string]]). Value will be null if no animation is playing.|
 |<object>.animations|An [[array]] of [[animation]] names defined for this object. The names will be [[string]] values.| |<object>.animations|An [[array]] of [[animation]] names defined for this object. The names will be [[string]] values.|
 |<object>.attach_points|An [[array]] of [[attach_points|attach point]] names defined for this object (across all [[animation]] frames). The names will be [[string]] values. The [[array]] will be empty if no [[attach points]] are defined.| |<object>.attach_points|An [[array]] of [[attach_points|attach point]] names defined for this object (across all [[animation]] frames). The names will be [[string]] values. The [[array]] will be empty if no [[attach points]] are defined.|
object.txt · Last modified: 2024/03/14 09:41 by justin