Classes:BJRun
Note: Wait! Stop! Before you copy this actor's definition into your mod, remember the following things:
|
B.J. Runner | |||
---|---|---|---|
Actor type | Miscellaneous | Game | |
DoomEd Number | None | Class Name | BJRun |
Overview
Special actor spawned by the Exit_VictorySpin action special. The actor has no special behavior in itself, but is formatted to work with the victory spin action.
Specifically the spawn state causes the actor to move forwards in the direction it is facing. When the victory spin detects the actor bumping into the player, it will be turned into a projectile with the run speed as the velocity and play the Death state. Ultimately the actor triggers the actual exit special.
DECORATE Definition
actor BJRun { // GROSS HACK Radius 80 Speed 4, 1.328 states { Spawn: BLAZ A 6 NOP A_Chase("*", "*", CHF_NOSIGHTCHECK) BLAZ A 1.5 BLAZ B 4 NOP A_Chase("*", "*", CHF_NOSIGHTCHECK) BLAZ C 6 NOP A_Chase("*", "*", CHF_NOSIGHTCHECK) BLAZ C 1.5 BLAZ D 4 NOP A_Chase("*", "*", CHF_NOSIGHTCHECK) loop Death: BLAZ E 7 BLAZ F 7 A_PlaySound("misc/yeah") BLAZ G 7 BLAZ H 150 A_Stop BLAZ H -1 Exit_Victory stop } }