Working on a level and I want to achieve an effect which isn't working out the way I want to.
Desired effect: Throughout the level are multiple buttons (trigger_use_touch), when one of them is triggered, an effect should be played at multiple origins. To give you an idea: the buttons are fire alarm triggers and I have multiple red lights around the map. I have configured an effect that resembles the flashing light of a fire alarm. I've also defined a sound in a soundalias file that should be played during the effect. Both the FX (flashing light) as well as the sound file are approx 20 secs long and after the 20 seconds the effect should stop (no looped effect). I've put a delay on the trigger_use_touch itself so you can trigger it again after 60 secs.
All script_origins have targetname fire_orig and all triggers have targetname fire_trig so I guess they should both go in an array but my scripting knowledge just isn't sufficient to get it to work.
Have been scavenging forums for some code to get me in the right direction and I've found some but not enough to make it happen. I have a pretty strong feeling that it SHOULD be possible.. now I just need to find out how

If I should different targetnames I would be glad to hear but I kinda went with that because of some other forum posts I read.