Player flags

From ZDoom Wiki
Jump to navigation Jump to search
  • PLAYERPAWN.NOTHRUSTWHENINVUL
Player is not thrusted by attacks when invulnerable.
  • PLAYERPAWN.CANSUPERMORPH
If this flag is given to a player morph, the morphed player recieves a tome of power if they are attempted to be morphed again. This is used by the chicken morph to reproduce the original behavior of Heretic and its "super chickens".
  • PLAYERPAWN.CROUCHABLEMORPH
Enables crouching for morphed player classes.
  • PLAYERPAWN.WEAPONLEVEL2ENDED
Signals that an enhanced weapon power has expired, so the code responsible switches the player's powered-up weapon back to its normal form.
This flag was introduced as part of a solution to make switching from the powered-up weapon to its normal form seamless upon the power's expiration, so it may not be used in user code.