GetGender(object)

From NWN Lexicon
Jump to navigationJump to 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
functions: SetGender()



 author: Tom Cassiotis