Classes:PowerTimeFreezer

From ZDoom Wiki

Jump to: navigation, search
Note: Wait! Stop! Before you flex your Ctrl-C/Ctrl-V muscles and copy this actor's definition in your mod, remember the following things:
  1. You do not need to copy that actor, since it is already defined.
  2. In fact, it's not just useless, it's actually harmful as it can cause problems.
  3. If you want to modify it, or use a modified version, using inheritance is the way to go.
  4. The actor definitions here are put on the wiki for reference purpose only. Learn from them, don't copy them.
Time freeze power
Actor type Power Game
DoomEd Number None Class Name PowerTimeFreezer


Classes: InventoryPowerupPowerTimeFreezer
Freezes every non-player-controlled actor that does not have the NOTIMEFREEZE flag set. Same effect as the freeze console command.

DECORATE definition

ACTOR PowerTimeFreezer : Powerup native
{
  Powerup.Duration -12
}
Personal tools