Corpral Nikon 1 Posted May 29, 2020 Evening guys, I would appreciate some help on this im pulling my hair out of my head around this. So basically what i have and want is the following i have a generator which i want to loop a sound, which i can do, my question is this tho, via another addaction on the object i want it to execute another script, or ammend the current one by ending the looping audio file without deleting the object. What i have is this to start the looping audio file : generator = (_this select 0); glb_Turn_Off_Generator = false; publicVariable "glb_Turn_Off_Generator"; _answerAction = generator addAction ["Turn Off Generator", "scripts\generator_off.sqf", [], 6, true, true, "", "_this distance _target < 3"]; while {!glb_Turn_Off_Generator} do { generator say3D "genie_sound"; sleep 125; How would i be able to stop this loop ? Any help would be appreciated Share this post Link to post Share on other sites
stburr91 1010 Posted May 29, 2020 Place a sphere on your generator, and remove the texture on the sphere so it isn't visible. Play your sound on the sphere instead of the generator. To end the sound loop, simply delete the sphere. 2 Share this post Link to post Share on other sites
Corpral Nikon 1 Posted May 30, 2020 Thank you @stburr91 i will give that a bash 🙂 appreciate your help 1 Share this post Link to post Share on other sites