Difference between revisions of "IsInCombat"
Added note about IsInCombat returning 1 when enemies are actively searching for the player
imported>Geckbot m (Robot: Automated text replacement (-\[\[Category:(.*?)Functions\]\] +Category:\1Functions\nCategory:\1Functions (GECK 1.0))) |
imported>Cipscis (Added note about IsInCombat returning 1 when enemies are actively searching for the player) |
||
(2 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. | [[Category:Functions (GECK 1.1)]] | ||
[[Category:Actor State Functions]] | [[Category:Actor State Functions]] | ||
[[Category:Actor State Functions (GECK 1. | [[Category:Actor State Functions (GECK 1.1)]] | ||
[[Category:Condition Functions]] | [[Category:Condition Functions]] | ||
[[Category:Condition Functions (GECK 1. | [[Category:Condition Functions (GECK 1.1)]] |