Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Enter

Events


Unit - A unit enters (Merc Camp Region)

Conditions


((Triggering unit) is alive) Equal to True


((Triggering unit) is A ground unit) Equal to True

Actions


If (All Conditions are True) then do (Then Actions) else do (Else Actions)



If - Conditions




(Level of Sell Units for (Merc Camp) Equal to 0



Then - Actions




Unit - Add Sell Units to (Merc Camp)



Else - Actions
Leave

Events


Unit - A unit leaves (Merc Camp Region)

Conditions

Actions


Set TargetFound = False


-------- - --------


Unit Group - Pick every unit in (Units within 450.00 of (Merc Camp Region) and do (Actions)



Loop - Actions




If (All Conditions are True) then do (Then Actions) else do (Else Actions)





If - Conditions






((Picked unit) is alive) Equal to True






((Picked unit) is A ground unit) Equal to True





Then - Actions






Set TargetFound = True





Else - Actions


-------- - --------


If (All Conditions are True) then do (Then Actions) else do (Else Actions)



If - Conditions




TargetFound Equal to False



Then - Actions




Unit - Remove Sell Units from (Merc Camp)



Else - Actions
I msg you on discord!
Isn't more easly make the select ability of the shop unable to target air units?