MBF21 flags

From Eternity Wiki
Jump to navigationJump to search

From some codepointers such as JumpIfFlagsSet, you need to specify MBF21 flags as a number which is a sum of bits. If the function doesn't allow you to specify names joined by |, + or ",", you need to specify them as sum of bits. Here are the available bits and flags:

  • 1: LOGRAV
  • 2: SHORTMRANGE
  • 4: DMGIGNORED
  • 8: NORADIUSDMG
  • 16: FORCERADIUSDMG
  • 32: HIGHERMPROB
  • 64: RANGEHALF
  • 128: NOTHRESHOLD
  • 256: LONGMELEE
  • 512: BOSS
  • 1024: MAP07BOSS1
  • 2048: MAP07BOSS2
  • 4096: E1M8BOSS
  • 8192: E2M8BOSS
  • 16384: E3M8BOSS
  • 32768: E4M6BOSS
  • 65536: E4M8BOSS
  • 131072: RIP
  • 262144: FULLVOLSOUNDS

Refer to Thing type flags for info on what the flags do. Keep in mind that the bit values listed here aren't the same as in the full list linked there.

See also[edit]