Region

Viceroy_Shem

New Member
well im still planning about it
after learning that once a gate is opened and not destroyed
the computer moves to the next targeted gate


can you please make me 1
 

X.Terror.X

New Member
Trigger:
  • Events
    • Time - Every 0.50 seconds of game time
    • Conditions
    • Actions
      • Unit Group - Pick every unit in (Units in Region 4 matching (((Owner of (Matching unit)) Equal to Player 1 (Red)) and ((Issued order) Not equal to (Order(attack))))) and do (Actions)
        • Loop - Actions
          • Unit - Order (Picked unit) to Attack-Move To (Center of Region 5)


is this something you want?
or you might let it trigger when the unit really enters the region.


Trigger:
  • Events
    • Unit - A unit enters Region 4
    • Conditions
      • (Owner of (Triggering unit)) Equal to Player 1 (Red)
    • Actions
      • Unit - Order (Triggering unit) to Attack-Move To (Center of Region 5)
 

Viceroy_Shem

New Member
Trigger:
  • Events
    • Time - Every 0.50 seconds of game time
    • Conditions
    • Actions
      • Unit Group - Pick every unit in (Units in Region 4 matching (((Owner of (Matching unit)) Equal to Player 1 (Red)) and ((Issued order) Not equal to (Order(attack))))) and do (Actions)
        • Loop - Actions
          • Unit - Order (Picked unit) to Attack-Move To (Center of Region 5)


is this something you want?
or you might let it trigger when the unit really enters the region.


Trigger:
  • Events
    • Unit - A unit enters Region 4
    • Conditions
      • (Owner of (Triggering unit)) Equal to Player 1 (Red)
    • Actions
      • Unit - Order (Triggering unit) to Attack-Move To (Center of Region 5)
hehehe the answer to my problem
thanks mate
thank you very much
 

Accname

2D-Graphics enthusiast
hehehe the answer to my problem
thanks mate
thank you very much
i wouldnt recommend using those triggers posted above since they leak heavily. periodic unit group leaks are a bad thing to happen.

Trigger:
  • Events
    • Time - Every 0.50 seconds of game time
    • Conditions
    • Actions
      • set Temp_Group = (Units in Region 4 matching (((Owner of (Matching unit)) Equal to Player 1 (Red)) and ((Issued order) Not equal to (Order(attack)))))
      • set Temp_Point = (Center of Region 5)
      • Unit Group - pick all units in Temp_Group and do (Actions)
        • Loop - Actions
          • Unit - Order (Picked unit) to Attack-Move To TempPoint
      • custom script: call DestroyGroup (udg_Temp_Group)
      • custom script: call RemoveLocation (udg_Temp_Point)


thats how it should look like if you want it to work properly.

@X.Terror.X: if you know what memory leaks are you shouldnt post leaking triggers in this forums section because alot of beginners do not know. if you dont know what they are you should better read some good turtorials about memory leaks before posting triggers here again. memory leaks are a serious danger to wc3 map making and should be avoided as best as possible.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Blackveiled Blackveiled:
    count on it then cause you don't live that far from me hah
  • The Helper The Helper:
    really that is cool!
  • The Helper The Helper:
    Hey Tom I added a new Weird tag to the News Prefixes
  • The Helper The Helper:
    What is up Blackveiled?
  • Blackveiled Blackveiled:
    Chillin', lurkin'. :D
  • The Helper The Helper:
    I am working on a bunch of site projects right now doing a bunch of behind the scenes stuff and trying to clean up some stuff that I let slide when I got lazy with the site for a few years...
  • The Helper The Helper:
    Are you in Houston Blackveiled or just in Texas?
  • Blackveiled Blackveiled:
    Houston
  • Blackveiled Blackveiled:
    I've been living here since 2014.
  • The Helper The Helper:
    OK banlord we need to get together soon! The only other member of the site I know in Houston is XXX Conan
  • The Helper The Helper:
    and he does not want none lol
  • The Helper The Helper:
    he put up a picture of his mom one time and she was HOT!
  • The Helper The Helper:
    I wish we still had that
  • Blackveiled Blackveiled:
    Lmao you scared him off I see.
  • The Helper The Helper:
    he will be back
  • The Helper The Helper:
    Conan was like 12 when he started here
  • The Helper The Helper:
    I literally think I was his male role model
  • Blackveiled Blackveiled:
    Yeah I was 12 when I started here as well.
  • The Helper The Helper:
    you guys were just kids
  • The Helper The Helper:
    I was in my 30s when i got the Blizzard MVP
  • The Helper The Helper:
    I am 53
  • Wizard Wizard:
    Happy Birthday!
  • The Helper The Helper:
    not my birthday
  • The Helper The Helper:
    but thanks lol
  • Blackveiled Blackveiled:
    and I'll be 30 in January lmao

    Members online

    Affiliates

    Hive Workshop NUON Dome World Editor Tutorials

    Network Sponsors

    Apex Steel Pipe - Buys and sells Steel Pipe.
    Top