Set variable to attacking unit.

PapaRoach

New Member
Reaction score
0
How come

Variable - Set Attacking Unit Member = (Returns the unit who last attacked the specified unit Zealot Prisoner [48.91, 246.80])


Does not set the specified variable to the last unit who attacked the specified zealot prisoner.

How can I fix this, and alternatively how can I make an action(s) that does this.
 

Severon

New Member
Reaction score
7
You'll probably get a better reply than this, but off the top of my head this is how I would go about it.
Trigger:
  • Attacker
    • Events
      • Unit is attack
    • Conditions
      • comparision - Attacked unit == (Zealot Prisoner [48.91, 246.80])
    • Actions
      • set variable - Set Attacker == (Attacking Unit)


I'm 98% sure all those things are in the GUI, but currently don't have one on this machine(maybe I shouldn't try to help unless I have one, but take everything I say with a grain of salt I suppose)
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top