A_Scream

From ZDoom Wiki
Jump to: navigation, search

A_Scream

(no parameters)

Plays the actor's death sound if it has one. If the actor has the BOSS flag, the sound is heard at full volume regardless of distance, otherwise it diminishes by distance. The sound is played on the voice channel.

Examples

This is the Death state of Doom's Imp.


    TROO I 8
    TROO J 8 A_Scream
    TROO K 6
    TROO L 6 A_NoBlocking
    TROO M -1
    stop

Note: this can be combined with A_NoBlocking using A_ScreamAndUnblock.