Difference between revisions of "IsInCombat"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Taglag
imported>QQuix
(Removed a wrong note)
 
(5 intermediate revisions by 5 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==
 
*Even though not seen as a syntax error by the CS, '''''IsInCombat''' ActorRef'' will not compile in-game. Conversely, it will cause the whole script not to be compiled.
# I used it with if (Player.IsInCombat == 1) and it did not go to my message Result until--[[User:Taglag|Taglag]] 22:12, 25 April 2009 (EDT) i entered Combat. seems to work Okay for Me.


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