Unit selection event

ROTS19

TH.net Regular
Reaction score
12
Is there a way to refer to the unit selected in a selection event? like
Code:
Event Response - Selected Unit
? or is there some other way?
 

Grags_1977

Ultra Cool Member
Reaction score
32
Trigger:
  • TargetYourUnit
    • Events
      • Unit - Unit1 <gen> Is issued an order targeting an object
    • Conditions
      • (Target unit of issued order) Equal to Unit2 <gen>
      • ((Region centered at (Position of Unit2 <gen>) with size (800.00, 800.00)) contains Unit1 <gen>) Equal to True
    • Actions


Is this what your looking for?
 

ROTS19

TH.net Regular
Reaction score
12
Triggering Unit is what you're looking for.

k. ty.
Trigger:
  • TargetYourUnit
    • Events
      • Unit - Unit1 <gen> Is issued an order targeting an object
    • Conditions
      • (Target unit of issued order) Equal to Unit2 <gen>
      • ((Region centered at (Position of Unit2 <gen>) with size (800.00, 800.00)) contains Unit1 <gen>) Equal to True
    • Actions


Is this what your looking for?

nope. not even close.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      • Ghan
        Administrator - Servers are fun

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top