Gaming
 

GetIsAreaNatural

From NWNWiki

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

[edit] GetIsAreaNatural(object oArea)

Look if the area oArea is natural.

// Returns AREA_NATURAL if the area oArea is natural, AREA_ARTIFICIAL otherwise.
// Returns AREA_INVALID, on an error.

int GetIsAreaNatural(
    object oArea,
);

[edit] Note

  • Natural option is used for nature sense and some other ranger and druid abilities.
  • AREA_NATURAL is declared as 1 in nwscript.nss, and AREA_ARTIFICIAL as 0.

[edit] See Also

constants:

AREA_* Constants