Wiki

Clone wiki

RtsPlayMakerActions / Action / ReplaceTilesByBrush

Replace Tiles By Brush

Replaces all tiles painted using one brush with another brush.


This action replicates functionality of TileSystem.ReplaceByBrush.


Screenshot of action user interface.

Remarks

When painting multiple tiles in sequence you should consider using the Begin Bulk Edit and End Bulk Edit actions to improve performance.

Please remember that this will not work if brush references have been stripped from tile system.

Input Variables

Tile System Component : Rotorz.Tile.TileSystem
Tile system of which to edit.
Find Brush : Rotorz.Tile.Brush
Find tiles that were painted using this brush.
Replacement Brush : Rotorz.Tile.Brush
Repaint found tiles using this brush. Specify null to erase found tiles.

Updated