Condition help plz

Status
Not open for further replies.

whitecrow89

W

whitecrow89

i cant seem to make my trigger to only apply to a certian color.. is there a quick condition that i can add?

untitled.jpg


but it obliviously moves any unit in the region at that time..
 
  • North 11
  • Events
    • Unit - A unit enters North 1 1 <gen>
  • Conditions
    • (Owner of (Triggering unit)) Equal to Player 6 (Orane)
  • Actions
    • Set Temp_Group = (Units in North 1 1 <gen> matching (((Owner of (Matching unit)) Equal to Player 6 (Orange))
    • Set AttackPoint = (Center of Attack East <gen>)
    • Unit Group - Pick every unit in Temp_Group and do (Actions)
      • Loop - Actions
        • Unit - Order (Picked unit) to Attack-Move to (AttackPoint)
    • Custom script: call DestroyGroup (udg_Temp_Group)
    • Custom script: call RemoveLocation (udg_AttackPoint)
 
If you want the triggering unit to be the only one to move then you can just change the action to this:

Unit-Order Tiggering Unit to Attack-Move to X

Changing your action to that will result in ordering only units owned by the player in the condition to move when it enters the region... Is this for a TD map or AoS? That action above is the one I use for those kind of movement triggers....

one more... your trigger has leaks....
 
Status
Not open for further replies.
Back
Top