Trigger question - Redirect selection of unit

ChaosWarlock

New Member
Reaction score
7
I'm trying to redirect the selection of a unit but I can't find the actions that I need to accomplish it. Let me explain better.

I want to have it when a player selects certain units, that unit is deselected and a different unit is selected.

I have almost all of it worked out but I need a condition that checks if the original unit is in a unit group. I don't know the event response for the unit in this event, "Player 1 (Red) Selects a unit". I don't think it would be triggering unit or target unit and I could not find an event response called selected unit.

Can someone please point me in the right direction?
Thanks and +rep for the solution.
 

vypur85

Hibernate
Reaction score
803
> Player 1 (Red) Selects a unit

Using this event, the selected unit is 'Triggering unit' while the player selecting the unit is 'Triggering player'.


> I can't find the actions that I need to accomplish it

Check out 'Selection - Select....'. If you can't find it, use the built in search function. Just type 'select'.

Basically, for what you want, just Reset selection and then select the other unit for your player.
 

Moridin

Snow Leopard
Reaction score
144
>I can't find the actions that I need to accomplish it

There are a bunch of actions under the "Selection -" heading. Using them you can clear a player's selection and select another unit for the triggering player.
 

ChaosWarlock

New Member
Reaction score
7
> Player 1 (Red) Selects a unit

Using this event, the selected unit is 'Triggering unit' while the player selecting the unit is 'Triggering player'.

Thanks so much that is exactly what I was unsure of.

I found the actions I need under Selection. Thank you both. +rep
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top