I'm absolutely new at anything. I'm currently creating my first map (and almost everything works beautifully!) and would like to play a custom sound "SHRO" (="i really should have russian overkill") when crossing a specific line.
I've imported a custom sound (shro.mp3) as demonstrated in https://www.youtube.com/watch?v=Y6WyKChcoYI and created SNDINFO just like the dude said. The entry in SNDINFO is "SHRO SHRO"
However, when i try to play it with a script which shall be executed when crossing a line (Action 80 - Script execute):
Code: Select all
script 3 (void)
{
PlaySound(0,"SHRO");
}
What am I doing wrong? How do I play the sound effect?
(I'm using Doom Builder 2.1.2.1553, Slade 3.1.1.5, GZDoom g3.1.0, format is "ZDoom (Doom in Hexen format)")