Actions
Unit Group - Pick each unit in (Any units in (Playable map area) owned by player Any Player matching Excluded: Missile, Dead, Hidden, with at most Any Amount) and do (Actions)
Actions
General - If (Conditions) then do (Actions) else do (Actions)
If
(Owner of (Picked unit)) == 1
Then
Variable - Set IsAplayer1unitInRegionX? = true
Trigger - Allow this trigger to be skipped by (All players), requiring at least All, and run No Trigger if skipped (Check Conditions, Don't Wait until it finishes)
Else
Try that after editing some values for the ones you want, and set the event to when you want it to be checked (for example, when a unit enters the region or a periodic event). Also, instead of the variable, you can just tell it to run the other trigger you want, then turn off the current trigger. (You can turn it back on once your other trigger is run)
It all depends on what you want to do with it though.
The main action you are looking for is "Units in region matching condition" though.
How would i make a trigger that allows me to check if their are any units that belong to a certain player in a certain region.
Actions
Unit Group - Pick each unit in (Any units in (Playable map area) owned by player Any Player matching Excluded: Missile, Dead, Hidden, with at most Any Amount) and do (Actions)
Actions
General - If (Conditions) then do (Actions) else do (Actions)
If
(Owner of (Picked unit)) == 1
Then
Variable - Set IsAplayer1unitInRegionX? = true
Trigger - Allow this trigger to be skipped by (All players), requiring at least All, and run No Trigger if skipped (Check Conditions, Don't Wait until it finishes)
Else
Try that after editing some values for the ones you want, and set the event to when you want it to be checked (for example, when a unit enters the region or a periodic event). Also, instead of the variable, you can just tell it to run the other trigger you want, then turn off the current trigger. (You can turn it back on once your other trigger is run)
It all depends on what you want to do with it though.
The main action you are looking for is "Units in region matching condition" though.