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

Need to know unit order type?

Status
Not open for further replies.
Level 1
Joined
Feb 6, 2011
Messages
1
I am setting up some triggers, and I need it to recognize that a player is right clicking a ship with a unit selected to activate a trigger.

  • Unit - A unit Is issued an order targeting an object
  • (Issued order) Equal to (Order(move))
I figured it issued a move command, but it doesnt register at all. Patrol highlights when you right click, but patrol didn't work either.

I found these elsewhere:

Note: right-clicking on an area (not unit or building) also issues the move command.

Right-Clicking on an enemy unit is the same as selecting the Attack command and clicking on the unit. If, however, you miss the intended target and click on the ground rather instead, you will end up issuing a Move command.

So thats for right clicking an area or enemy unit. How do I tell if I right click a friendly owned or allied unit?
 
Level 26
Joined
Aug 18, 2009
Messages
4,097
Right-click order is either "rally" of the Rally ability that units normally get when they are able to train units or "smart" that behaves as you have quoted.

The event response Target Unit Of Issued Order refers to the unit being interacted with on this event and Ordered Unit/Trigger Unit the unit that receives the order.
 
Status
Not open for further replies.
Top