odyseus 19 Posted October 14, 2012 HELLO GUYS, As the tittle says i am having a little problems with my alarms system. So here is what i did. I place a trigger on that map. set the size to 300 x 300 and set the condition to be triggered by bluefor being detected by oppfor. Then on the activation box i place a line that alarm1 = true. To trigger a second trigger that will produce de sound near a speaker a place on the map. Everything works fine. But the alarm does not shutoff. I try to place another trigger that countdown time since alarm1 was triggered to shut it off and on its action box i place alarm1 = false. But it did not work. I saw somewhere please using the delete action to delete the trigger, but i don't want to use that since i want the alarm to turn back one in case more tropes arrive. i WILL USE THE DELETE FUNCTION IN CASE THE SPEAKER IS DESTROYED. DOES ANYBODY KNOW WHAT WOULD BE THE BEST WAY TO DO SO?? pLEASE HELP! THANK YOU GUYS AS AWAYS ;) Share this post Link to post Share on other sites
ra1n0fpa1n 10 Posted October 14, 2012 (edited) maybe you should make your triggers smaller if they are too big it will be going on all the time because there would always be an enemy in the area if you make triggers that are smaller it would be easier to turn it off. In the trigger there is a on deactivation so when the enemy leaves the area you should put alarm1 = false in the on deactivation once they leave the small trigger radius the alarm will stop or you can try using timeout http://community.bistudio.com/wiki/setTriggerTimeout Edited October 14, 2012 by ra1n0fpa1n Share this post Link to post Share on other sites
buliwyf 2 Posted October 15, 2012 @Odyseus Your keyboard seems to be broken... fix it! :D You can create a new trigger after deleting the original one. All you need is here. greetz Share this post Link to post Share on other sites
blackmamb 2 Posted October 15, 2012 Or you could use createSoundSource. And just delete the soundsource whenever you want, and recreate it at will. Share this post Link to post Share on other sites
odyseus 19 Posted October 16, 2012 @Buliwuf LOL :D I wish. That is just my Dyslexia! :D @BlackMamb that sounds like good idea! Got it? creatSound Source, sounds like good idea? :D Thanks guys i will give it i try. Share this post Link to post Share on other sites