Trigger Help

djb4cc1o94

TH.net Regular
Reaction score
5
Hello, why do in this trigger when i order the unit,(as u can see) the unit turns back to where it was b4 the order?that sucks coz im purposely moving the unit to region wich will move to region etc... and if he turns back, it runs everything :(

Order Lantern
Events
Time - Elapsed game time is 1.00 seconds
Conditions
Actions
Unit - Order Magic Lantern 0030 <gen> to Move To (Center of Move 1 <gen>)
Unit - Order Magic Lantern 0031 <gen> to Move To (Center of Move 2 <gen>)
Unit - Order Magic Lantern 0032 <gen> to Move To (Center of Move 3 <gen>)
Unit - Order Magic Lantern 0033 <gen> to Move To (Center of Move 4 <gen>)
 

Smitty

Member
Reaction score
20
Turn off guard range (or whatever it's called)? Neutral hostile units will only stray so far from their original positions I think.
 

djb4cc1o94

TH.net Regular
Reaction score
5
He is a normal unit but just owned by neutral hostile... it doesnt matter i checked it u mean Camp range default 200? or something in obj?
 

StRoNgFoE.

New Member
Reaction score
9
First Move
Events
Time - Elapsed game time is 1.00 seconds
Conditions
Actions
Set TempPoint = FirstLocation
Unit - Order YourUnit to Move To (Center of TempPoint)
EGUI Leak - Remove (Center of TempPoint)


Second Move
Events
Unit - A unit enters Your First Location <gen>
Conditions
(Entering unit) Equal to YourUnit
Actions
Set TempPoint = Your Second Location <gen>
Unit - Order YourUnit to Move To (Center of TempPoint)
EGUI Leak - Remove (Center of TempPoint)




Third Move
Events
Unit - A unit enters Your Second Location <gen>
Conditions
(Entering unit) Equal to YourUnit
Actions
Set TempPoint = Your Third Location <gen>
Unit - Order YourUnit to Move To (Center of TempPoint)
EGUI Leak - Remove (Center of TempPoint)


Just keep going and adding regions and triggers for every place you want your unit to go to. Or you can run a loop through this.. but that's how you get it done.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top