GetGender(object)

From NWN Lexicon
Jump to: navigation, search

Determines the gender of a creature.

int GetGender(
    object oCreature
);

Parameters

oCreature
The creature to check the gender of.

Description

Returns the gender (GENDER_*) of oCreature or -1 on error (invalid object/not a creature).

Version

1.22

See Also

constants: 

GENDER_* Constants



 author: Tom Cassiotis