A_Scream

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.

A_Scream

(no parameters)

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.

This article is issued from Zdoom. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.