Ramsen II 1 Posted December 5, 2017 i need a high command group icon color to change permanently when in combat? the below script does it but only for the duration of the 'foreach' script (i.e 0.5 seconds) so the color flashes on then off but i need it to be permanent? p.s the a = 1 bit is for a simple trigger switch that plays a bleep every time a group is under attack, that is also the reason for the two 0.5 sleeps that allow time for the bleep to play. Quote _group = []; a = 0; while {true} do { { if (count units _x > 1 and side _x == west) then { _group = _group + [_x]; if ((behaviour (leader _x)) == "COMBAT") then { a = 1; [blufor, "blu"] sidechat format ["Group %1 in combat.", _x]; /// temporary bit of code for testing i dont want this as it spams the radio chatter!. _x setGroupIconParams [[0.85,0.4,0,1],"",1,true]; /// only flashes on then off!? sleep 0.5; a = 0; }; }; sleep 0.5; } forEach allGroups; sleep 10; }; any help appreciated. Share this post Link to post Share on other sites