Recent changes Random page
GAMING
Gaming
 
WoWWiki
Diablo Wiki
Fallout-The Vault
Grand Theft Wiki
Halopedia
StarCraft Wiki
FFXIclopedia
Resident Evil Wiki
See more...

GetIsAreaNatural

From NWNWiki

Jump to: navigation, search
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

Rate this article:
Share this article: