Difference between revisions of "TLResetAreaGroundTilesEx"

From NWN Lexicon
Jump to: navigation, search
(Created page with "=TLResetAreaGroundTilesEx(object)= Removes tile magic visual effects from an area. void TLResetAreaGroundTilesEx( object oArea ); =...")
 
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
 
Removes tile magic visual effects from an area.
 
Removes tile magic visual effects from an area.
  
[[void | void ]] TLResetAreaGroundTilesEx(
+
<nwscript>
    [[object | object ]] oArea
+
void TLResetAreaGroundTilesEx(
);
+
    object oArea
 +
);
 +
</nwscript>
  
 
====Parameters====
 
====Parameters====
Line 39: Line 41:
 
====Example====
 
====Example====
  
+
<nwscript>
<font color="#007f00">// Source code from x2_inc_toollib</font>
+
 
<font color="#007f00">// This is an extract from x2_inc_toollib and will not compile as-is</font><br /><br />
+
// Source code from x2_inc_toollib
<font color="#0000ff">void</font> TLResetAreaGroundTilesEx(<font color="#0000ff">object</font> oArea)
+
// 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));
+
{
}
+
    TLResetAreaGroundTiles(oArea, GetAreaSize(AREA_WIDTH), GetAreaSize(AREA_HEIGHT));
+
}
 +
 
 +
</nwscript>
  
 
====See Also====
 
====See Also====

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