GetCombatCondition(int, object)
Determine whether the specified X0_COMBAT_FLAG_* is set on the target.
int GetCombatCondition( int nCond, object oTarget = OBJECT_SELF );
Parameters
nCond
The X0_COMBAT_FLAG_* condition to check for.
oTarget
The object we wish to return the integer from. (Default: OBJECT_SELF)
Description
Determine whether the specified X0_COMBAT_FLAG_* is set on the target.
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
Requirements
#include "x0_i0_combat"
Version
???
Example
See SetCombatCondition.
See Also
functions: | SetCombatCondition |
categories: | Combat Functions | Get Data from Creature Functions |
author: Baragg, editor: Mistress