Gaming
 

GetIsAreaAboveGround

From NWNWiki

Stub This article is a stub. You can help NWNWiki by expanding it.

[edit] GetIsAreaAboveGround(object oArea)

Look if the area oArea is natural

// Returns AREA_ABOVEGROUND if the area oArea is above ground, AREA_UNDERGROUND otherwise.
// Returns AREA_INVALID, on an error.

int GetIsAreaAboveGround(
    object oArea,
);

[edit] Note

  • AREA_ABOVEGROUND is declared as 1 in nwscript.nss, and AREA_UNDERGROUND as 0

[edit] See Also

constants:

AREA_* Constants