Difference between revisions of "GetKnockStateEnum"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>SJML Bot
(Bot creating condition functions pages.)
 
imported>DavidJCobb
(disassembly, with help from CommonLibSSE)
 
Line 1: Line 1:
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.


[[Category:Condition Functions]]
[[Category:Condition Functions]]

Latest revision as of 03:45, 22 February 2021

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.