TLResetAreaGroundTiles(object, int, int)

Removes tile magic visual effects from an area.

void TLResetAreaGroundTiles(
    object oArea,
    int nColumns,
    int nRows
);

Parameters

oArea

Area to remove the tile magic from

nColumns

Columns in the area

nRows

Rows in the area


Description

Remove any ground area tiles created with TLChangeAreaGroundTiles in current area.



Remarks

nColumns and nRows are the size of the area. For instance, a 4 * 6 area has 4 columns and 6 rows.

This removes visual effects by destroying all placeables tagged "x2_tmp_tile" in the area. This tag is automatically assigned to all the invisible objects created with TLChangeAreaGroundTiles.


Requirements

#include "x2_inc_toollib"

Version

1.61

See Also

functions: TLChangeAreaGroundTiles
categories: Area Functions | Visual Effects Functions


 author: Lilac Soul
 Send comments on this topic.