Unit leaves region doesnt work

Eimtr

Member
Reaction score
1
For me this is the last question I have with the WEditor because after that im moving to SC2 editor completely, so I will make sure I do things myself in the last war3 things I do :)

SOLVED / IGNORE

I have flying units with height 900 and I want to not let them move out of a certain range from the main flying unit that I'll just call the Main Unit with 600 height. So I do:

Trigger:
  • DSPBoundaries
    • Events
      • Unit - A unit leaves (Region centered at (Position of Main Unit 0002 <gen>) with size (600.00, 900.00))
    • Conditions
      • (Unit-type of (Leaving unit)) Not equal to ...
      • (Leaving unit) Not equal to ...(just selecting which I dont want to be taken into account)
      • (Owner of (Leaving unit)) Equal to Player 1 (Red)
    • Actions
      • Unit - Move (Leaving unit) instantly to (Random point in (Region centered at (Position of Main Unit 0002 <gen>) with size (600.00, 900.00)))


So if those units not in the condition are supposed to be moved back within the range of the Main unit but they don't and I dont know what the problem is. Actually some do it, others not and it's not because I selected wrong units in the condition
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top