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.
I found these elsewhere:
So thats for right clicking an area or enemy unit. How do I tell if I right click a friendly owned or allied unit?
-
Unit - A unit Is issued an order targeting an object
-
(Issued order) Equal to (Order(move))
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?