GetIsAreaAboveGround
From NWN Lexicon
Jump to navigationJump to search
GetIsAreaAboveGround(object)
Determines whether an area is above ground or not.
Parameters
oArea
Area to determine whether is above ground
Description
Returns AREA_ABOVEGROUND if the area oArea is above ground, AREA_UNDERGROUND otherwise.
Returns AREA_INVALID on an error.
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.
Version
1.32
See Also
functions: | |
constants: |
author: Lilac Soul, editor: Charles Feduke, Mistress