I'm using SoundTools since some time now, and recently I wanted to add sounds to my cinematic system.
This is what should work in my system. I can save it as intended, but it doesn't work because ingame it doesn't play the sounds at all.
What am I doing wrong?
///This is where I create all sounds so I can use them in other systems/stuff
library SoundDocumentation initalizer init requires SoundTools
integer array BossFightSounds
private function init takes nothing returns nothing
set BossFightSounds = NewSound("Sound\\Ambient\\DoodadEffects\\FlashBack1Second.wav", 2178, false, false)
///This is in the cinematic system
function AddSound takes player p, integer s returns nothing
call RunSoundForPlayer(s, p)
///How I want it to work:
///call AddSound(p, BossFightSounds)
///That should start the sound for the given player.. but it doesn't..:(