JumpIfFlagsSet
From Eternity Wiki
Jump to navigationJump to search
Description
Changes current frame to another if actor has the specified thing flags set.
Usage
A_JumpIfFlagsSet(frame, standard_flags, mbf21_flags)
Parameters
- frame: frame to jump to if flags are set
- standard_flags: set of vanilla DOOM flags to check. This means that only from the flags they are checked, not from flags2 etc.
- mbf21_flags: sum of MBF21 flags bits for a selection of non-vanilla DOOM flags. Warning: currently this must be a number, it won't work with mnemonic joinings.
Examples
No examples given.
Notes
As this codepointer is from MBF21, it's limited and doesn't support all of Eternity's thing flags.