Difference between revisions of "IsInCombat"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Kenet korva
imported>QQuix
(Removed a wrong note)
 
(7 intermediate revisions by 7 users not shown)
Line 1: Line 1:
'''Syntax'''
[''ActorRef''].IsInCombat
Returns 1 if the actor is currently in combat.
Returns 1 if the actor is currently in combat.


==Notes==
 
Note, that even though not seen as a syntax error by the CS, ''IsInCombat ActorRef'' will not compile ingame. Conversly it will cause the whole Script not to be compiled.


[[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.