• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Trigger: Issue Order Returns

Status
Not open for further replies.
Level 8
Joined
Jun 13, 2010
Messages
344
Hi forum,
I have always had a problem with issueing orders in the trigger editor.
I do as ment to.
1: Spawn in region.
2: order entering unti to move to another region.

Problem is, when they reach the destined region, they run back, making them run back and forth. Why can't they just stay there?

Here they spawn:
  • Hageis is Released
    • Events
      • Unit - Fire Titan 0037 <gen> Dies
    • Conditions
    • Actions
      • Game - Display to (All allies of (Owner of (Killing unit))) the text: |cffffcc00Hageis, t...
      • Wait 5.00 seconds
      • Unit - Create 1 Demon Hunter for Neutral Passive at (Center of Hageis Released <gen>) facing Default building facing degrees
      • Set Hageis_Man1 = (Last created unit)
      • Wait 1.00 seconds
      • Unit - Create 1 Demon Hunter for Neutral Passive at (Center of Hageis Released <gen>) facing Default building facing degrees
      • Set Hageis_Man2 = (Last created unit)
      • Wait 1.00 seconds
      • Unit - Create 1 Witchcrafter for Neutral Passive at (Center of Hageis Released <gen>) facing Default building facing degrees
      • Set Hageis_Man3 = (Last created unit)
      • Wait 1.00 seconds
      • Unit - Create 1 Witchcrafter for Neutral Passive at (Center of Hageis Released <gen>) facing Default building facing degrees
      • Set Hageis_Man4 = (Last created unit)
      • Wait 1.00 seconds
      • Game - Display to (All allies of (Owner of (Killing unit))) the text: |cffffcc00Hageis, t...
      • Unit - Create 1 Hageis, the Mortal for Neutral Passive at (Center of Hageis Released <gen>) facing Default building facing degrees
      • Set Hageis_Man5 = (Last created unit)
Here they move:
  • Hageis Group
    • Events
      • Unit - A unit enters Hageis Released <gen>
    • Conditions
      • Or - Any (Conditions) are true
        • Conditions
          • (Unit-type of (Entering unit)) Equal to Demon Hunter
          • (Unit-type of (Entering unit)) Equal to Witchcrafter
          • (Unit-type of (Entering unit)) Equal to Hageis, the Mortal
    • Actions
      • Wait 0.01 seconds
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Entering unit) Equal to Hageis_Man1
        • Then - Actions
          • Unit - Order (Entering unit) to Move To (Center of Hageis 2 <gen>)
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Entering unit) Equal to Hageis_Man2
        • Then - Actions
          • Unit - Order (Entering unit) to Move To (Center of Hageis 4 <gen>)
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Entering unit) Equal to Hageis_Man3
        • Then - Actions
          • Unit - Order (Entering unit) to Move To (Center of Hageis 1 <gen>)
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Entering unit) Equal to Hageis_Man4
        • Then - Actions
          • Unit - Order (Entering unit) to Move To (Center of Hageis 5 <gen>)
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Entering unit) Equal to Hageis_Man5
        • Then - Actions
          • Unit - Order (Entering unit) to Move To (Center of Hageis 3 <gen>)
        • Else - Actions
And I've even tried adding these for each individual region destination:
  • Hageis Hold Position 1
    • Events
      • Unit - A unit enters Hageis 1 <gen>
    • Conditions
      • Or - Any (Conditions) are true
        • Conditions
          • (Unit-type of (Entering unit)) Equal to Demon Hunter
          • (Unit-type of (Entering unit)) Equal to Witchcrafter
          • (Unit-type of (Entering unit)) Equal to Hageis, the Mortal
    • Actions
      • Unit - Order (Entering unit) to Hold Position
      • Trigger - Turn off (This trigger)
I have also tried to make the return distance for creeps longer and the return timer to 0. But I am not certain if they'd just return immidiately though.. Doesn't matter anyway, cause they just returned even though I tried it to begin with.

Can you help? :)
 
Level 8
Joined
Jun 13, 2010
Messages
344
I've had this problem before and managed to fix it somehow, but I cant remember the details.

Try to change the owner of these units from neutral to a player. Worth a try.

Hmm, I guess I could try.. But the problem is if it works that I do not have any more players to fill it out to.. xD
 
Level 8
Joined
Jun 13, 2010
Messages
344
Okay I think I solved it. Made creep return timer to 10000... Why does it have to be the weird and unprofessional solutions that work.
 
Status
Not open for further replies.
Top