Difference between revisions of "IsInCombat"
Jump to navigation
Jump to search
imported>ZuTheSkunk (GetCombatTarget note) |
imported>QQuix (→Notes: Testing edit) |
||
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. You need to use [[GetCombatTarget]] instead. | *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 09:26, 9 April 2016
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..