• 🏆 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!

Is something wrong with this trigger

Status
Not open for further replies.
Level 26
Joined
Dec 3, 2018
Messages
873
I made this trigger, but it doesn't work. The triggering unit has the attacking unit ability and is moving and the zeppelin is near the unit.
Error1.png
Error2.png
 

Uncle

Warcraft Moderator
Level 64
Joined
Aug 10, 2018
Messages
6,537
Don't use "Do nothing", it's unnecessary. Also, you don't need the AND in your conditions. By default the conditions need to ALL be true in order for the Actions to run. On top of that, you probably want to use an OR as well, and check if the order is "smart" or "move". Smart = right click, Move = pressing the Move ability or using it's hotkey (M).

If after that it still fails, try displaying text messages throughout the trigger to find where it goes wrong. For instance, you can Pick every unit in TransportingOGroup and display the name of the picked unit or create a special effect at it's position, this will tell you that the Unit Group is actually picking the Zeppelins properly.

Try doing something like that throughout the trigger and it will help narrow down the issue.
 
Last edited:
Status
Not open for further replies.
Top