I've made a simple trigger that orders my and allied peons to go repair/finish building any structure that is under 100 % HP.
Works perfectly normal for my peons, but allied peons will simply refuse to do it.
It's not a LoS/Them not getting the order though the trigger, because if I change it to move/right-click/attack they will go to the building and do the desired order.
The buildings have 0 repair and build costs and I've modified the Repair (Human) ability by also checking the (Allied) in targets allowed.
Any idea why this happens, is it just a quirk?
Works perfectly normal for my peons, but allied peons will simply refuse to do it.
It's not a LoS/Them not getting the order though the trigger, because if I change it to move/right-click/attack they will go to the building and do the desired order.
The buildings have 0 repair and build costs and I've modified the Repair (Human) ability by also checking the (Allied) in targets allowed.
Any idea why this happens, is it just a quirk?
-
Build or Repair Orders
-

Events
-


Time - Every 0.10 seconds of game time
-
-

Conditions
-

Actions
-


Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
-



Loop - Actions
-




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





If - Conditions
-






(Unit-type of (Picked unit)) Equal to Orc Outpost (Built Structure)
-






(Percentage life of (Picked unit)) Less than 100.00
-
-





Then - Actions
-






Set TempUnit = (Picked unit)
-






Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
-







Loop - Actions
-








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









If - Conditions
-










(Unit-type of (Picked unit)) Equal to Peon
-










(Custom value of (Picked unit)) Equal to 0
-
-









Then - Actions
-










Game - Display to (All players) the text: AAAAAUGH
-










Unit - Order (Picked unit) to Human Peasant - Repair TempUnit
-










Unit - Set the custom value of (Picked unit) to 1
-
-









Else - Actions
-
-
-
-
-





Else - Actions
-
-
-
-
-