A_PlaySound
From ZDoom Wiki
A_PlaySound (string soundname)
| Note: This function has been superseded by A_PlaySoundEx, which duplicates and extends its functionality. Use of the newer function is advised in order to maintain maximum flexibility in your code. |
Plays the specified sound.
Examples
...
states
{
Spawn:
BLAH A 1 // functions in the first frame of the Spawn state are never called
BLAH A 5 A_PlaySound ("play/sound")
BLAH BCD 6
BLAH E -1
stop
...
}

