TLResetAreaGroundTilesEx(object)

Removes tile magic visual effects from an area.

void TLResetAreaGroundTilesEx(
    object oArea
);

Parameters

oArea

Area to remove the tile magic from.


Description

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



Remarks

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().

This is a wrapper function for TLResetAreaGroundTiles() that uses GetAreaSize() to automatically send the area's height and width.


Requirements

#include "x2_inc_toollib"


Version

1.67

Example

// Source code from x2_inc_toollib
// This is an extract from x2_inc_toollib and will not compile as-is

void TLResetAreaGroundTilesEx(object oArea) { TLResetAreaGroundTiles(oArea, GetAreaSize(AREA_WIDTH), GetAreaSize(AREA_HEIGHT)); }

See Also

functions:  TLResetAreaGroundTiles | TLChangeAreaGroundTiles | TLChangeAreaGroundTilesEx
categories:  Area Functions | Visual Effects Functions
tutorials: An Introduction To TileMagic


author: Lilac Soul, Mistress, editor: Kolyana