• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

Is something wrong with this trigger

Status
Not open for further replies.
Level 26
Joined
Dec 3, 2018
Messages
874
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,583
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