How Force Unit Patrol from A to B point?

Creator

New Member
Reaction score
1
I have tried setting up rally point for unit and place a locations Unit should walk from and to. But Didn't worked.

Any suggestion how this can be accomplished? Or May be I missed some thing in that trigger?

Thanks any way!
 

SpaceBar

New Member
Reaction score
16
Code:
Events
Time - Elapsed game time is 5.00 seconds
Conditions
Actions
Unit - Order <Your unit> to Patrol To (Centre of (Your region))
 

free_killing

TH.net Regular
Reaction score
23
Trigger:
  • Move And Patrol
    • Events
      • Time - Elapsed game time is 5.00 seconds
    • Conditions
    • Actions
      • Set A = Place A
      • Unit - Move &#039;Your unit&#039; instantly to A
      • Set B = Place B
      • Unit - Order &#039;Your unit&#039; to Patrol To B
      • Custom script: call RemoveLocation(udg_A)
      • Custom script: call RemoveLocation(udg_B)
 

simonake

New Member
Reaction score
72
Free killing, why do we need locations, you just needs region.

Creator, you just a to make 1 region in your map. Then trigger something like this:
Trigger:
  • Patroll
    • Events
    • Conditions
    • Actions
      • Unit - Order (unit) to patroll to Region (Issue unit to target a point)
 

Creator

New Member
Reaction score
1
Thank you every one! Thats how It worked out:

1 - I had set up zone for unit to go to, so it started just going from its current position to that zone center
2 - to make more complex have set up many small zones and set trigger loop :thup: , have added some floating text above him and end result just lovely one to see :)
 
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