GetIsAreaAboveGround
From NWN Lexicon
Contents |
[edit] GetIsAreaAboveGround(object)
Determines whether an area is above ground or not.
int GetIsAreaAboveGround( object oArea );
[edit] Parameters
oArea
Area to determine whether is above ground
[edit] Description
Returns AREA_ABOVEGROUND if the area oArea is above ground, AREA_UNDERGROUND otherwise.
Returns AREA_INVALID on an error.
[edit] Remarks
The above/under-ground status of the area is set in the area's properties under the advanced tab.
AREA_ABOVEGROUND is declared as 1 in nwscript.nss, and AREA_UNDERGROUND as 0. So you could also say that the function returns TRUE if the area is aboveground, and FALSE otherwise.
[edit] Version
1.32
[edit] See Also
functions: | |
constants: |
author: Lilac Soul, editor: Charles Feduke, Mistress