GetKnockedState

From GECK
Jump to: navigation, search


A function included in the GECK for Fallout 3.

Description

Returns actor's current knocked state.

Syntax

[help]
(int) [actor:ref].GetKnockedState 

Knocked States

-1	fatigue knockout
0	normal 
1	knocked out (includes unconscious essential actor, paralyzed actor, and negative fatigue knockout.)
2	knocked down 

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.