---
title: "PSTEE Identifiers : state.ids"
---
state.ids
Relates to offset 0x0020 in the CRE file format.
Used by the following script triggers:
The file is partially extensible; new states cannot be created though existing states can be combined to create shortcut states.
STATEs are cumulative: all those STATEs that aren't a power of 2 are combinations of other STATEs. In particular, you can BOR (bitwise OR) the base STATEs (i.e., all those listed at offset 0x0020 of a CRE file) to form all the others. For instance, STATE_HARMLESS is STATE_FEEBLEMINDED | STATE_CHARMED | STATE_IMMOBILE... and STATE_IMMOBILE is STATE_HELPLESS | STATE_STUNNED | STATE_SLEEPING.
0x00000000 STATE_NORMAL
0x00000029 STATE_IMMOBILE
0x00000FC0 STATE_REALLY_DEAD
0x00102029 STATE_HARMLESS
0x00400010 STATE_NOT_TARGETABLE
0x60400010 STATE_ILLUSIONS
0x80040004 STATE_RANGED_TARGET
0x80101FEF CD_STATE_NOTVALID
0x8010202D STATE_DISABLED
0x8015302D STATE_DEBUFF