GetCombatCondition

From NWN Lexicon


Contents

[edit] GetCombatCondition(int, object)

Determine whether the specified X0_COMBAT_FLAG_* is set on the target.

int GetCombatCondition(
    int nCond,
    object oTarget = OBJECT_SELF
);

[edit] Parameters

nCond

The X0_COMBAT_FLAG_* condition to check for.

oTarget

The object we wish to return the integer from. (Default: OBJECT_SELF)


[edit] Description

Determine whether the specified X0_COMBAT_FLAG_* is set on the target.



[edit] Remarks

The flags (nCond) that can be checked for are:
  X0_COMBAT_FLAG_AMBUSHER
  X0_COMBAT_FLAG_COWARDLY
  X0_COMBAT_FLAG_DEFENSIVE
  X0_COMBAT_FLAG_RANGED


[edit] Requirements

#include " x0_i0_combat "


[edit] Version

???

[edit] Example

See SetCombatCondition .

[edit] See Also

functions: 

SetCombatCondition



author: Baragg, editor: Mistress

Personal tools
Categories