The wiki (https://community.bistudio.com/wiki/forEach) just isn't making sense for me. So I'm trying to have multiple alarms going off without having to type a while script for each alarm so I tried to do this
_value = 1;
while {_value > 0} do {
sleep 1.7;
say3D "alarm_1";
} forEach [Alarm1, Alarm2, Alarm3, Alarm4, Alarm5];
Then I thought maybe it thought that my Alarm 2 was trying to define a group or something since thats how the wiki shows it so I changed it to this
_allAlarms == Alarm1, Alarm2, Alarm3, Alarm4, Alarm5;
_value = 1;
while {_value > 0} do {
sleep 1.7;
say3D "alarm_1";
} forEach _allAlarms;
but that didnt work.
I also tried the
_allAlarms = Alarm1...
with just the 1 equals sign but that didn't work either.
And that script is activated by a trigger to make it simple.