DO/CTL/Flags
From Dark Omen Wiki
(Unit Flag 1 done) |
(2 bits missing in flag1) |
||
Line 34: | Line 34: | ||
* 268435456 - Invisible (can move, fight, can't use magic items) | * 268435456 - Invisible (can move, fight, can't use magic items) | ||
* 536870912 - Hides the banner | * 536870912 - Hides the banner | ||
+ | * 1073741824 - Unknown (Not set) | ||
+ | * 2147483648 - Unit freezes | ||
Unit Flag 2: | Unit Flag 2: | ||
- | *2048 - Hides the Banner | + | * 2048 - Hides the Banner |
- | Unit Flag 3: | + | Unit Flag 3: |
- | This Flag is read-only (set by the Engine?) | + | * This Flag is read-only (set by the Engine?) |
+ | * One of the Bits is for Regiment is death (=No Men left) and then the Mission Over Text appears | ||
Control Flag: | Control Flag: |
Current revision as of 19:50, 24 February 2010
Every unit has four sets of flags.
The flags are 32Bit (because in some scripts is set_unit_flag1 536870912)
Unit Flag 1:
- 1 - Always set (Crash on clear)
- 2 - Completly invisible (can't even see enemies anymore but moves)
- 4 - Ignores Movement commands (except rotations)
- 8 - Unknown (Not set on startup)
- 16 - Unknown (Not set)
- 32 - Unknown (Set)
- 64 - Hide regiment but not the banner (use with 2)
- 128 - Red Arrow (Unit freezes)
- 256 - No clipping (can move through other regiments, no close combat/ignored by AI)
- 512 - Yellow Arrow, says retreat and freezes, Artillery gets red arrow
- 1024 - Unknown (Not set)
- 2048 - Unit glitches after manual charge
- 4096 - Unknown (Not set)
- 8192 - Yellow Arrow (Unit freezes)
- 16384 - Unknown (Not set)
- 32768 - Red Arrow and crazy unit moving
- 65536 - Unknown (Not set)
- 131072 - Unknown (Set)
- 262144 - Unknown (Set)
- 524288 - Unit is hidden (green arrow)
- 1048576 - Unit is in a battle (only retreat and strength button)
- 2097152 - Does not have Autodeploy-Status
- 4194304 - Invisible (can move / fight)
- 8388608 - Unknown (Not set)
- 16777216 - Unknown (Not set)
- 33554432 - Is Selected
- 67108864 - Unknown (Not set)
- 134217728 - Unknown (Not set)
- 268435456 - Invisible (can move, fight, can't use magic items)
- 536870912 - Hides the banner
- 1073741824 - Unknown (Not set)
- 2147483648 - Unit freezes
Unit Flag 2:
- 2048 - Hides the Banner
Unit Flag 3:
- This Flag is read-only (set by the Engine?)
- One of the Bits is for Regiment is death (=No Men left) and then the Mission Over Text appears
Control Flag: