cirerrek Posted December 4, 2004 Share Posted December 4, 2004 I mentioned that I had these squirreled away somewhere. I believe Xyx was the orginator of these puppies: Add the state values of each indidual stae in each group to come up with the hex value for a new state that checks for multiple states. Very useful for targeting in scripts among other things. 0x00102029 STATE_HARMLESS Feeblemind Charmed Helpless Stunned Sleeping 0x80040004 STATE_RANGED_TARGET Blind Confused Panic 0x8014202D STATE_OUT_OF_ACTION Feeblemind Charmed Helpless Stunned Sleeping Blind Confused Panic 0x00400010 STATE_NOT_VISIBLE Invisibility Improved Invisibility 0x63C08010 STATE_ENCHANTED Mirror Image Chant Haste Aid Improved Invisibility 0x60400010 STATE_ILLUSIONS Invisible Improved Invisibility Mirror Image Blur Link to comment
Smoketest Posted December 4, 2004 Share Posted December 4, 2004 Here's one of my own for use in replacement script for IsValidForPartyDialog in DLG triggers: 0x8000380F STATE_INVALID Confused Charmed Silenced Dead Stunned Panic Berserk Sleeping You could use a different name, of course. When I read STATE_INVALID I automatically complete it in my head with "...ForPartyDialog". Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.