Check if trigger is active inside script in ARMA 2 & OA : MISSIONS - Editing & Scripting Posted February 8, 2013 Hi! Im sorry if this has been asked before, but I can not find the answer to this. I am trying to make a script thats in a loop, terminate when a trigger is no longer active. while {triggerActivated music} do {(playsound "prayer"), (player sideChat "test"), (sleep 210); if !(triggeractivated music) exitwith {player sidechat "bye bye"};}; As you guys can probably see, this will not work. So help would be appreciated
Check if trigger is active inside script
in ARMA 2 & OA : MISSIONS - Editing & Scripting
Posted
Hi!
Im sorry if this has been asked before, but I can not find the answer to this.
I am trying to make a script thats in a loop, terminate when a trigger is no longer active.
while {triggerActivated music} do {(playsound "prayer"), (player sideChat "test"), (sleep 210); if !(triggeractivated music) exitwith {player sidechat "bye bye"};};
As you guys can probably see, this will not work. So help would be appreciated