Difference between revisions of "TLResetAreaGroundTilesEx"

From NWN Lexicon
Jump to: navigation, search
 
Line 4: Line 4:
  
 
<nwscript>
 
<nwscript>
[[void | void ]] TLResetAreaGroundTilesEx(
+
void TLResetAreaGroundTilesEx(
    [[object | object ]] oArea
+
    object oArea
);
+
);
 
</nwscript>
 
</nwscript>
  
Line 42: Line 42:
  
 
<nwscript>
 
<nwscript>
+
 
// Source code from x2_inc_toollib
+
// Source code from x2_inc_toollib
// This is an extract from x2_inc_toollib and will not compile as-is<br /><br />
+
// This is an extract from x2_inc_toollib and will not compile as-is<br /><br />
void TLResetAreaGroundTilesEx(object oArea)
+
void TLResetAreaGroundTilesEx(object oArea)
{
+
{
    TLResetAreaGroundTiles(oArea, GetAreaSize(AREA_WIDTH), GetAreaSize(AREA_HEIGHT));
+
    TLResetAreaGroundTiles(oArea, GetAreaSize(AREA_WIDTH), GetAreaSize(AREA_HEIGHT));
}
+
}
+
 
 
</nwscript>
 
</nwscript>
  

Latest revision as of 01:50, 26 August 2012

TLResetAreaGroundTilesEx(object)

Removes tile magic visual effects from an area.

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: 

TLChangeAreaGroundTilesEx

tutorials: 

An Introduction To TileMagic



author: Lilac Soul, Mistress, editor: Kolyana