TLResetAreaGroundTilesEx

From NWN Lexicon

Contents

[edit] TLResetAreaGroundTilesEx(object)

Removes tile magic visual effects from an area.

[edit] Parameters

oArea

Area to remove the tile magic from.


[edit] Description

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



[edit] 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 GetAreaSize to automatically send the area's height and width.


[edit] Requirements

#include " x2_inc_toollib "


[edit] Version

1.67

[edit] Example

// Source code from x2_inc_toollib
// This is an extract from x2_inc_toollib and will not compile as-is<br /><br />
void TLResetAreaGroundTilesEx(object oArea)
{
    TLResetAreaGroundTiles(oArea, GetAreaSize(AREA_WIDTH), GetAreaSize(AREA_HEIGHT));
}

[edit] See Also

functions: 

TLChangeAreaGroundTilesEx

tutorials: 

An Introduction To TileMagic



author: Lilac Soul, Mistress, editor: Kolyana

Personal tools
Categories