Set Tile Set Icon Set Tile Set

With this action you can set a layer to use different tile sets from those created in the Asset Browser. You give the name of the layer (a string, as defined in the Room Editor), and then the tile set resource to use, and all tiles in the room on that layer will be drawn with the new tile set.

 

Action Syntax:

Set Tile Set Action

Arguments:

ArgumentDescription
LayerThe layer on which to set the new tile set.
TilesetThe tile set to use for the layer.

 

Example:

Set Tile Set ExampleThe above action block code checks to see if the tiles on the layer "Floor_Tiles" is using the tile set "tl_PalaceRuins", and if they not, then they are set to use it.