Zone Controll Trigger Help

S

SundaysBest

Guest
How would i trigger the following action:

I would like to have my barracks, once it reaches 50% HP to change ownership from what it currently was to the owner of the unit that had killed it to 50%

Thanks in advance
 

PurgeandFire

zxcvmkgdfg
Reaction score
508
Wrong forum, but here is a trigger: :D
Code:
Test Trigger
    Events
        Unit - Barracks 0000 <gen>'s life becomes Less than or equal to 50.00
    Conditions
    Actions
        Unit - Change ownership of Barracks 0000 <gen> to (Owner of (Attacking unit)) and Change color
I dunno if "Attacking Unit" would work, but you get the idea. Also, the <50.00> area, I think you have to do the 50% math by yourself... :banghead:

EDIT: Nvm... I'm pretty sure attacking unit won't work, I didn't test it, but I'm almost positive it won't work. :\
 
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