GetAlignmentLawChaos(object)

From NWN Lexicon
Jump to navigationJump to search

Determines the ethos of a given creature.

int GetAlignmentLawChaos(
    object oCreature
);

Parameters

oCreature
Target creature to retrieve the ethos alignment of.


Description

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


See Also

functions: 

GetReputation

constants: 

ALIGNMENT_* Constants



 author: Charles Feduke