Difference between revisions of "IsInCombat"
Jump to navigation
Jump to search
imported>Bruneauinfo m (Added syntax for this function) |
imported>ZuTheSkunk (GetCombatTarget note) |
||
Line 6: | Line 6: | ||
==Notes== | ==Notes== | ||
*Even though not seen as a syntax error by the CS, '''''IsInCombat''' ActorRef'' will not compile in-game. Consequently, it will cause the whole script not to be compiled. | *Even though not seen as a syntax error by the CS, '''''IsInCombat''' ActorRef'' will not compile in-game. Consequently, it will cause the whole script not to be compiled. You need to use [[GetCombatTarget]] instead. | ||
[[Category: Functions]] | [[Category: Functions]] |
Revision as of 23:31, 21 December 2010
Syntax
[ActorRef].IsInCombat
Returns 1 if the actor is currently in combat.
Notes
- Even though not seen as a syntax error by the CS, IsInCombat ActorRef will not compile in-game. Consequently, it will cause the whole script not to be compiled. You need to use GetCombatTarget instead.