GetKnockStateEnum

From the CreationKit Wiki
Jump to navigation Jump to search

This function checks the run-on reference and returns one of the following values:

-1
This reference is not an actor.
0
Normal
1
Explode
2
Explode Lead-in
3
Knocked Out
4
Knocked Out Lead-In
5
Queued
6
Get Up
7
Down

The values 0, 5, and 6 correspond to GetKnockedState returning 0, while the values 3 and 4 correspond to it returning 1. If the knocked-state enum is 1 or 2, then GetKnockedState doesn't return a defined value.