AddFlags

From Eternity Wiki
Revision as of 14:41, 23 October 2024 by Printz (talk | contribs) (Created page with "{{codepointer|description=Adds the specified thing flags to the actor. |usage='''A_AddFlags'''(''standard_flags'', ''mbf21_flags'') |parameters= *''standard_flags'': vanilla DOOM '''flags''' to add. Beware that '''flags2''' etc. aren't accepted. *''mbf21_flags'': sum of MBF21 flags to add. |notes=This codepointer comes from the MBF21 standard and is inferior to Eternity's SetFlags. Use that one instead. |seealso= *JumpIfFlagsSet *SetFlags *UnSetFlags}}")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Description

Adds the specified thing flags to the actor.

Usage

A_AddFlags(standard_flags, mbf21_flags)

Parameters

  • standard_flags: vanilla DOOM flags to add. Beware that flags2 etc. aren't accepted.
  • mbf21_flags: sum of MBF21 flags to add.

Examples

No examples given.

Notes

This codepointer comes from the MBF21 standard and is inferior to Eternity's SetFlags. Use that one instead.

See also