GetAssociateState

From NWN Lexicon
Jump to: navigation, search



GetAssociateState(int)

int GetAssociateState(
    int nCondition
);

Parameters

nCondition

NW_ASC_*


Description

Returns TRUE or FALSE (on/off) depending on if a particular NW_ASC_*, NW_ASC_DISTANCE_*, NW_ASC_HEAL_AT_* or NW_ASC_AGGRESSIVE_* constant setting is set on an NPC associate.



Remarks

This function also exists in #include x0_inc_states . The code is slightly different.


Requirements

#include " x0_i0_assoc "


Version

1.22

See Also

functions: 

SetAssociateState

constants: 

NW_ASC_* Constants



 author: Charles Feduke, editors: Tom Cassiotis, Mistress