Can anybody give me some help with this (
@Chubz)? Part of my script isn't working and I don't know why. I'm trying to play a sound as part of a larger event sequence. Both of the following were copied directly out of an example WAD on the ZDOOM wiki and only changed to match my file names. The first one plays the sound while the second does not, so I know that the SNDINFO entry is correct.
ActivatorSound("ShatterGlass",127);
PlaySound ( LineID, "ShatterGlass", CHAN_5, 1.0, FALSE, 0);
So why in the world does the second one not work? It makes no sense to me, everything looks correct based on the syntax listed on the wiki entries and they work in the example file. But when I copy over the second one it fails to play.
Anyways, this comes as part of a larger project: a custom breaking glass script. The solution included in ZDOOM's library is a pain in the ass to setup and requires importing custom graphics to get it to work. My solution uses particles instead of projectiles so it runs natively without needing to add to your WAD.