Classes:PowerInvulnerable
Classes: Inventory→Powerup→PowerInvulnerable
(more)
Note: Wait! Stop! Before you copy this actor's definition into your mod, remember the following things:
|
Invulnerability power | |||
---|---|---|---|
Actor type | Power | Game | ![]() |
DoomEd Number | None | Class Name | PowerInvulnerable |
PowerInvulnerable is an internal class. An item of this class is placed in the player's inventory while invulnerable.
Like all other Powerups items of this class are never used directly. Instead you have to create a new item that inherits from PowerupGiver to give it to the player.
DECORATE definition
ACTOR PowerInvulnerable : Powerup native { Powerup.Duration -30 Inventory.Icon "SPSHLD0" }
This article is issued from Zdoom. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.