• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Need A lil' Help Here :)

Status
Not open for further replies.
Level 2
Joined
Jan 21, 2010
Messages
6
Well, First of all Thanks For reading this post and Excuse my english, im no native.

Well I got a problem that's Frustrating me, i got all the morning trying to do a trigger that Order units to move-attack at point (Im making Something like an AOS), Well i did the first team, and it's allright, units Move and attack properly, but the second team its a bit different, they only move to the first point, there they stop and do nothing untill you're close to them.. i think there's no problem with the trigger, so i post it here so anyone maybe knows how to fix it :), i left here the map so u can search for a problem on it.


Im newbe on wc3 editor, so im trying to do my best learning about triggers.
 

Attachments

  • Demo For Help.w3x
    42.9 KB · Views: 34
Level 28
Joined
Jan 26, 2007
Messages
4,789
You're doing useless stuff...

  • Conditions
    • (Owner of (Entering unit)) Equal to Player 12 (Brown)
  • Actions
    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      • If - Conditions
        • (Owner of (Entering unit)) Equal to Player 12 (Brown)
The same condition twice... remove that.

  • Movimiento C2
    • Events
      • Unit - A unit enters Equipo 2 Att 1 <gen>
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Equipo 2 Att 1 <gen> contains (Entering unit)) Equal to True
If the event is "Unit enters region X", then the condition "Is unit in region X?" is useless.
I seriously hope you understand why.


  • Movimiento C2
    • Events
      • Unit - A unit enters Equipo 2 Att 1 <gen>
    • Conditions
      • (Owner of (Entering unit)) Equal to Player 12 (Brown)
    • Actions
      • Unit - Order (Entering unit) to Attack-Move To (Center of Equipo 2 Att 2 <gen>)
This trigger will work. Easier, yet working.



I can also tell you why the other trigger didn't work: "Is unit in region" doesn't always work instantly. If the unit just entered the region (which is when the event fires the trigger), then it could be that that condition thinks the units aren't in the region yet.
 
Level 2
Joined
Jan 21, 2010
Messages
6
Thanks, it worked ^^, But remember i posted im Learning about Triggers... See, now i learned that those triggers dont allways works Instantly :), Thanks for the advice now i gotta learn how to make all the moves in just one Trigger and im done :D!
 
Status
Not open for further replies.
Top