Here is the trigger... It's just suppost to check if there is any units in the region, then check if a unit has entered the "circle of power" (T01). If there is units in the reigon, then it ignores.
Code:
Azzuer HQ
Events
Unit - A unit enters T01 <gen>
Conditions
Or - Any (Conditions) are true
Conditions
(Owner of (Entering unit)) Equal to Player 1 (Red)
(Owner of (Entering unit)) Equal to Player 2 (Blue)
(Owner of (Entering unit)) Equal to Player 3 (Teal)
(Owner of (Entering unit)) Equal to Player 4 (Purple)
(Owner of (Entering unit)) Equal to Player 5 (Yellow)
(Owner of (Entering unit)) Equal to Player 6 (Orange)
(Owner of (Entering unit)) Equal to Player 7 (Green)
(Owner of (Entering unit)) Equal to Player 8 (Pink)
Actions
Unit Group - Pick every unit in (Units owned by (Owner of Territory (HQ Territory) 0001 <gen>) matching (((Unit-type of (Picked unit)) Equal to Armed Peasant) or ((Unit-type of (Picked unit)) Equal to Ranged Peasant))) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(HQ01 <gen> contains (Picked unit)) Equal to False
Then - Actions
Unit - Change ownership of Territory (HQ Territory) 0001 <gen> to (Owner of (Entering unit)) and Change color
Unit - Change ownership of Headquarters 0000 <gen> to (Owner of (Entering unit)) and Change color
Else - Actions