Difference between revisions of "GetKnockedState"
Jump to navigation
Jump to search
imported>Geckbot m (Robot: Automated text replacement (-\[\[Category:(.*?)Functions\]\] +Category:\1Functions\nCategory:\1Functions (GECK 1.0))) |
imported>Yukichigai |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
'''Syntax:''' | |||
[ActorID.]GetKnockedState | |||
Returns actor's current knocked state: | |||
:0 = normal | |||
:1 = knocked out | |||
:2 = knocked down | |||
"Knocked out" includes: 1) unconscious essential actor, 2) paralyzed actor, and 3) negative fatigue knockout. | |||
==Notes== | ==Notes== | ||
* This function will return 0 if called on actors knocked down by [[PushActorAway]] command. | |||
*If an essential actor is knocked out before recovering from [[PushActorAway]] then GetKnockedState will act as though they are still being affected by [[PushActorAway]] and will return 0. | *If an essential actor is knocked out before recovering from [[PushActorAway]] then GetKnockedState will act as though they are still being affected by [[PushActorAway]] and will return 0. | ||
[[Category:Functions]] | [[Category:Functions]] | ||
[[Category:Functions (GECK 1. | [[Category:Functions (GECK 1.1)]] |
Latest revision as of 11:06, 20 October 2013
Syntax:
[ActorID.]GetKnockedState
Returns actor's current knocked state:
- 0 = normal
- 1 = knocked out
- 2 = knocked down
"Knocked out" includes: 1) unconscious essential actor, 2) paralyzed actor, and 3) negative fatigue knockout.
Notes[edit | edit source]
- This function will return 0 if called on actors knocked down by PushActorAway command.
- If an essential actor is knocked out before recovering from PushActorAway then GetKnockedState will act as though they are still being affected by PushActorAway and will return 0.