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:(.*?)\(GECK 1.0\)\]\] +Category:\1(GECK 1.1))) |
imported>Cipscis (Added note about IsInCombat returning 1 when enemies are actively searching for the player) |
||
(One intermediate revision by the same user 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]] |