GetAlignmentGoodEvil

From NWN Lexicon

Contents

[edit] GetAlignmentGoodEvil(object)

Determines the disposition of a creature.

int GetAlignmentGoodEvil(
    object oCreature
);

[edit] Parameters

oCreature

Target creature to retrieve the alignment of.


[edit] Description

Returns an ALIGNMENT_* constant to represent oCreature's good/evil alignment, or returns -1 if oCreature is not a valid target (OBJECT_INVALID).



[edit] Version

1.28

[edit] See Also

functions: 

GetLawChaosValue

constants: 

ALIGNMENT_* Constants



 author: Charles Feduke
 

Personal tools
Categories