A_FreezeDeath

From ZDoom Wiki
Jump to navigation Jump to search

A_FreezeDeath

A_GenericFreezeDeath

(no parameters)


Starts the freeze sequence. This should only be used in the first state of the ice death sequence. A_GenericFreezeDeath additionally sets the ice palette translation and is useful if the sprites being used don't have the appropriate colors.

When used in conjuntion with A_FreezeDeathChunks it is possible to recreate the frozen effect from Hexen where the frozen monster can be destroyed into chunks.

Examples

This would create the same freezing properties from Hexen:

actor FreezeDeathImp : DoomImp
{
  states
  {
  Ice:
    TROO V 5 A_FreezeDeath
    TROO V 1 A_FreezeDeathChunks
    wait
  }
}