Difference between revisions of "GetKnockedState"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Cipscis
imported>Yukichigai
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
Link to TES4 Construction Set Wiki: [http://cs.elderscrolls.com/constwiki/index.php/GetKnockedState GetKnockedState].
'''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.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.