Wiki
Clone wikiRtsPlayMakerActions / Action / GetTileData
Get Tile Data
Gets data for a specific tile.
This action accesses data for the specified tile using various properties of TileData.
Remarks
In order to use this action you will need to define one or more variables to store the data that you would like to retrieve.
Input Variables
- Tile System Component : Rotorz.Tile.TileSystem
- Tile system of which to access.
- Row Index : int
- Zero-based index of tile row.
- Column Index : int
- Zero-based index of tile column.
- Every Frame : bool
- Indicates if action should be repeated for every frame.
Output Variables
- Is Empty (Optional) : bool
- Indicates if tile is empty.
- Is Solid (Optional) : bool
- Indicates if tile has been flagged as solid.
- Brush (Optional) : Rotorz.Tile.Brush
- Brush that was used to paint tile (alway
null
if stripped). - Variation Index (Optional) : int
- Variation of tile.
- Tileset (Optional) : Rotorz.Tile.Tileset
- The associated tileset (if any).
- Tileset Index (Optional) : int
- Zero-based index of tile in its tileset.
- Game Object (Optional) : GameObject
- The attached game object (if any).
Updated