Skagget 11 Posted July 3, 2011 What I want is to have a area say 200x200 marker radius. When 30 OpFor is in that radius, it will be red. When say 14 OpFor is in that radius it will be orange and if it is no it will be green. Maybe even four stages; Alot, Some, Few and None. Ive tried some ideas but it didnt work so any good tips on it ? :) Share this post Link to post Share on other sites
kylania 568 Posted July 3, 2011 Multiple triggers and the use of setMarkerColor would be one way of doing this. Share this post Link to post Share on other sites
Skagget 11 Posted July 3, 2011 well that I figured out is a must, a trigger going for OpFor present Repeat etc.. but the activation must be checking for X number of people I guess. So the question I guess is more how the code/variables for check X amount in a activation tab. Say if 20people is here then setmarkercolor Red and repeat.. Share this post Link to post Share on other sites
riouken 15 Posted July 3, 2011 Set your trigger to repetedly. Just adjust the number for each condition, i.e. none,low,med,high. etc. Condition: (EAST countSide thislist > [color="Red"]3[/color]) on activation: "mymarker" setMarkerColor "RED"; Share this post Link to post Share on other sites
demonized 20 Posted July 3, 2011 (edited) you can also just use one trigger and a spawn script: trigger is side present repeated. on act: _null = thisTrigger spawn { while {(count (list _this)) != 0} do { _cnt = (count (list _this)); _color = "ColorGreen"; if (_cnt >= 30) then {_color = "ColorRed"}; if (_cnt < 30 AND _cnt > 0) then {_color = "ColorOrange"}; "mymarker" setMarkerColor _color; sleep 1; }; }; Edited July 3, 2011 by Demonized shortened code Share this post Link to post Share on other sites