Classes:PowerGhost
Classes: Inventory→Powerup→PowerInvisibility→PowerGhost
(more)
Note: Wait! Stop! Before you copy this actor's definition into your mod, remember the following things:
|
Ghost power | |||
---|---|---|---|
Actor type | Power | Game | ![]() |
DoomEd Number | None | Class Name | PowerGhost |
PowerGhost is an internal class. An item of this class is placed in the player's inventory while he is having Heretic's Shadow/Ghost effect. With this effect on the player is drawn translucent and the aiming of monsters is randomly off. Additionally, any monster that hasn't been alerted yet will have difficulty seeing the player and any projectile with the THRUGHOST flag will pass right through the player.
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 PowerGhost : PowerInvisibility { +GHOST Powerup.Duration -60 Powerup.Strength 60 Powerup.Mode "None" }
This article is issued from Zdoom. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.