• 💀 Happy Halloween! 💀 It's time to vote for the best terrain! Check out the entries to Hive's HD Terrain Contest #2 - Vampire Folklore.❗️Poll closes on November 14, 2023. 🔗Click here to cast your vote!
  • 🏆 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!
  • 🏆 HD Level Design Contest #1 is OPEN! Contestants must create a maze with at least one entry point, and at least one exit point. The map should be made in HD mode, and should not be openable in SD. Only custom models from Hive's HD model and texture sections are allowed. The only exceptions are DNC models and omnilights. This is mainly a visual and design oriented contest, not technical. The UI and video walkthrough rules are there to give everyone an equal shot at victory by standardizing how viewers see the terrain. 🔗Click here to enter!

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