Difference between revisions of "IsInCombat"
Added note about IsInCombat returning 1 when enemies are actively searching for the player
imported>Maturin |
imported>Cipscis (Added note about IsInCombat returning 1 when enemies are actively searching for the player) |
||
(4 intermediate revisions by 3 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 | |||
}} | |||
[[Category: Functions]] | ==Notes== | ||
[[Category: Actor State Functions]] | *[[IsInCombat]] will return 1 if enemies are actively searching for the player. | ||
[[Category: Condition Functions]] | |||
[[Category:Functions]] | |||
[[Category:Functions (GECK 1.1)]] | |||
[[Category:Actor State Functions]] | |||
[[Category:Actor State Functions (GECK 1.1)]] | |||
[[Category:Condition Functions]] | |||
[[Category:Condition Functions (GECK 1.1)]] |