User Tools

Site Tools


tile

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
tile [2021/04/28 23:05] justintile [2021/04/28 23:06] justin
Line 5: Line 5:
  
 =====Scripting===== =====Scripting=====
-(Ways to references tiles, e.g. tile[x, y, z], entity["my_tile"], self, etc.) +(TODO: Ways to references tiles, e.g. tile[x, y, z], entity["my_tile"], self, etc.) 
-(Ways to add tiles, remove tiles, change a tile's model, change its default animation, etc.)+ 
 +(TODO: Ways to add tiles, remove tiles, change a tile's model, change its default animation, etc.)
  
 ^Property^Description^ ^Property^Description^
Line 15: Line 16:
 |<tile>.groups|An [[array]] of [[groups]] to which the tile is assigned. The [[array]] will be empty if the tile is not assigned to any [[groups]].| |<tile>.groups|An [[array]] of [[groups]] to which the tile is assigned. The [[array]] will be empty if the tile is not assigned to any [[groups]].|
 |<tile>.tags|An [[array]] of tags (as [[string|strings]]) for the tile, as set in the [[Voxel Editor]] from the [[Model Properties]] panel.| |<tile>.tags|An [[array]] of tags (as [[string|strings]]) for the tile, as set in the [[Voxel Editor]] from the [[Model Properties]] panel.|
-|<tile>.interact_cursor|Interaction cursor for the tile, 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 tile. Valid values include "default", "walk", "interact", "speak", "attack", or any custom cursor defined in the [[game configuration]].|+|<tile>.interact_cursor|Interaction cursor for the tile, 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 tile. Valid values include "default", "walk", "interact", "speak", "attack", or any custom cursor defined in your [[game configuration]].|
  
 ~~NOTOC~~ ~~NOTOC~~
tile.txt · Last modified: 2024/03/14 09:44 by justin