SetPlayerProperty
From ZDoom Wiki
191:SetPlayerProperty (who, set, which)
who: Set to 1 to affect all players, 0 for just the one who activated the special set: Set to 1 to turn on the property or 0 to turn it off which: Which property to change
Sets a property for a player.
| Note: Using this special to grant powerup effects to players has been deprecated. Consider using the GiveInventory function for this purpose instead. |
- 0 - PROP_FROZEN - The player cannot move
- 1 - PROP_NOTARGET - Monsters ignore the player (unless they have already seen him)
- 2 - PROP_INSTANTWEAPONSWITCH - The weapons don't delay between changing them
- 3 - PROP_FLY - The player is (not) subjected to gravity. The behavior is about the same as having Heretic's/Hexen's Wings of Wrath.
- 4 - PROP_TOTALLYFROZEN - Same as PROP_FROZEN, but does not allow the player to look around or shoot. (In fact, the only control they can still use is the +use key)
- 5 - PROP_INVULNERABILITY (deprecated) - Invulnerability sphere. There is a known issue where this proeprty will not color the player's screens if this is used to affect all players (1 for the first argument).
- 6 - PROP_STRENGTH (deprecated) - Berserk pack
- 7 - PROP_INVISIBILITY (deprecated) - Partial Invisibility sphere
- 8 - PROP_RADIATIONSUIT (deprecated) - Radiation suit
- 9 - PROP_ALLMAP (deprecated) - Computer area map
- 10 - PROP_INFRARED (deprecated) - Light Amplification Goggles
- 11 - PROP_WEAPONLEVEL2 (deprecated) - Tome of Power
- 12 - PROP_FLIGHT (deprecated) - Wings of Wrath
- 13 - PROP_UNUSED1 - ?
- 14 - PROP_UNUSED2 - ?
- 15 - PROP_SPEED (deprecated) - Speed boots

