User Tools

Site Tools


character

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
character [2024/03/14 09:43] justincharacter [2024/03/14 09:43] (current) justin
Line 30: Line 30:
 |<character>.model|Name of the character's model (e.g. "purple_slime").| |<character>.model|Name of the character's model (e.g. "purple_slime").|
 |<character>.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.| |<character>.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.|
-|<character>.animation|Name of the animation currently playing for this character (as a [[string]]). Value will be null if no animation is playing.|+|<character>.animation|Name of the [[animation]] currently playing for this character (as a [[string]]). Value will be null if no [[animation]] is playing.|
 |<character>.animations|An [[array]] of [[animation]] names defined for this character. The names will be [[string]] values.| |<character>.animations|An [[array]] of [[animation]] names defined for this character. The names will be [[string]] values.|
 |<character>.attach_points|An [[array]] of [[attach_points|attach point]] names defined for this character (across all [[animation]] frames). The names will be [[string]] values. The [[array]] will be empty if no [[attach points]] are defined.| |<character>.attach_points|An [[array]] of [[attach_points|attach point]] names defined for this character (across all [[animation]] frames). The names will be [[string]] values. The [[array]] will be empty if no [[attach points]] are defined.|
character.txt · Last modified: 2024/03/14 09:43 by justin