Character Position Table
From WikiName
Overview
The game stores the character's position (standing, fighting, etc) as an integer.
Values
Position | Value | Bitmask Value |
---|---|---|
Dead | 0 | 1 |
Mortally Wounded | 1 | 2 |
Incapacitated | 2 | 4 |
Stunned | 3 | 8 |
Sleeping | 4 | 16 |
Resting | 5 | 32 |
Sitting | 6 | 64 |
Crawling (not used) |
7 | 128 |
Fighting | 8 | 256 |
Standing | 9 | 512 |
Combined Bitmask Values
The bitmask values can be combined to form a mask that can contain multiple positions. Common values are:
- 1023 = Any position
- 1022 = Not dead
- 1016 = Not dying or dead
- 992 = Awake