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
Next revision
Previous revision
Next revisionBoth sides next revision
character [2021/11/08 17:48] justincharacter [2022/11/14 13:30] justin
Line 17: Line 17:
 |<character>.direction|[[Cardinal direction]] (NORTH, SOUTH, WEST, EAST) in which the character is rotated. The default direction of an [[entity]] is SOUTH.| |<character>.direction|[[Cardinal direction]] (NORTH, SOUTH, WEST, EAST) in which the character is rotated. The default direction of an [[entity]] is SOUTH.|
 |<character>.tiles|An [[array]] of [[tile|tiles]] that the character is currently occupying.| |<character>.tiles|An [[array]] of [[tile|tiles]] that the character is currently occupying.|
-|<character>.groups|An [[array]] of [[groups]] to which the character is assigned. The [[array]] will be empty if the object is not assigned to any [[groups]].|+|<character>.groups|An [[array]] of [[groups]] to which the character is assigned. The [[array]] will be empty if the character is not assigned to any [[groups]].|
 |<character>.tags|An [[array]] of tags (as [[string|strings]]) for the character, as set in the [[Voxel Editor]] from the [[Model Properties]] panel.| |<character>.tags|An [[array]] of tags (as [[string|strings]]) for the character, as set in the [[Voxel Editor]] from the [[Model Properties]] panel.|
 |<character>.interact_cursor|Interaction cursor for the character, as set in the [[Map Editor]] from the [[Entity Properties]] panel. This can be used to either retrieve or change the interaction cursor for the character. Valid values include "default", "walk", "interact", "speak", "attack", or any custom cursor defined in your [[game configuration]].| |<character>.interact_cursor|Interaction cursor for the character, as set in the [[Map Editor]] from the [[Entity Properties]] panel. This can be used to either retrieve or change the interaction cursor for the character. Valid values include "default", "walk", "interact", "speak", "attack", or any custom cursor defined in your [[game configuration]].|
Line 25: Line 25:
 |<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>.front_tile| |
 +|<character>.front_tile| |
 +|<character>.front_tile| |
 +|<character>.front_tile| |
 +|<character>.front_tile| |
 +|<character>.front_tile| |
  
 ~~NOTOC~~ ~~NOTOC~~
character.txt · Last modified: 2024/03/14 09:43 by justin