Difference between revisions of "IsInCombat"

467 bytes added ,  00:12, 24 June 2010
Added note about IsInCombat returning 1 when enemies are actively searching for the player
imported>Haama
m (Removing space to prevent sorting bug)
imported>Cipscis
(Added note about IsInCombat returning 1 when enemies are actively searching for the player)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Returns 1 if the actor is currently in combat.
{{Function
|CSWikiPage        = IsInCombat
|origin            = GECK1
|summary          = Returns 1 if the calling actor is currently in combat, and 0 otherwise.
|returnVal        = inCombat
|returnType        = int{0,1}
|referenceType    = actor
|example          = player.IsInCombat
}}
 
==Notes==
*[[IsInCombat]] will return 1 if enemies are actively searching for the player.


[[Category:Functions]]
[[Category:Functions]]
[[Category:Functions (GECK 1.1)]]
[[Category:Actor State Functions]]
[[Category:Actor State Functions]]
[[Category:Actor State Functions (GECK 1.1)]]
[[Category:Condition Functions]]
[[Category:Condition Functions]]
[[Category:Condition Functions (GECK 1.1)]]
Anonymous user