Classes:DeathCam
From ECWolf Wiki
Note: Wait! Stop! Before you copy this actor's definition into your mod, remember the following things:
|
Death Camera | |||
---|---|---|---|
Actor type | Script thing | Game | |
DoomEd Number | None | Class Name | DeathCam |
Overview
Helper class for the death cam sequence. If the MAPINFO definition enables the death cam, then this actor will be spawned when the last boss dies. The Ready state replaces the player's weapon during the sequence.
DECORATE Definition
actor DeathCam native { action native A_FinishDeathCam(); states { Spawn: // This delays the start of the deathcam sequence. Like vanilla // we have a delay of 10 before calling BossDeath and then we wait // 50 more tics here. TNT1 A 50 TNT1 A -1 A_FinishDeathCam stop Ready: DCAM A 16 TNT1 A 16 loop } }