Difference between revisions of "IsInCombat"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>QQuix
(→‎Notes: Testing edit)
imported>QQuix
(Removed a wrong note)
 
Line 5: Line 5:
Returns 1 if the actor is currently in combat.
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..


[[Category: Functions]]
[[Category: Functions]]

Latest revision as of 15:15, 9 April 2016

Syntax

[ActorRef].IsInCombat 

Returns 1 if the actor is currently in combat.