MBF21 flags

From Eternity Wiki
Revision as of 14:37, 23 October 2024 by Printz (talk | contribs) (Created page with "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: MAP07BOSS...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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]