TLResetAreaGroundTilesEx
From NWN Lexicon
Jump to navigationJump to search
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 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<br /><br />
void TLResetAreaGroundTilesEx(object oArea)
{
TLResetAreaGroundTiles(oArea, GetAreaSize(AREA_WIDTH), GetAreaSize(AREA_HEIGHT));
}
See Also
| functions: | |
| tutorials: |
author: Lilac Soul, Mistress, editor: Kolyana