A_Scream
Jump to navigation
Jump to search
void A_Scream ()
Usage
Plays the actor's death sound if it has one. If the actor has either the BOSS or FULLVOLDEATH flags, the sound is heard at full volume regardless of distance, otherwise it diminishes by distance. The sound is played on the voice channel.
This function can be combined with A_NoBlocking using A_ScreamAndUnblock.
Examples
This is the Death state sequence of Doom's Imp.
Death: TROO I 8; TROO J 8 A_Scream; TROO K 6; TROO L 6 A_NoBlocking; TROO M -1; Stop;