GetIsPlayableRacialType

From NWN Lexicon
Jump to: navigation, search



GetIsPlayableRacialType(object)

Determine whether the target creature is one of the playable races.

int GetIsPlayableRacialType(
    object oCreature
);

Parameters

oCreature

Creature to test.


Description

Returns TRUE if the creature given as an argument is a member of one of the playable races (dwarf, elf, gnome, half-elf, halfling, half-orc, or human). Otherwise, returns FALSE.



Version

1.22

See Also



 author: Jason Harris, editor: Charles Feduke