• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Solved] Help please

Status
Not open for further replies.
Level 2
Joined
Aug 9, 2011
Messages
6
Hello!
I'm editing a map and i have a triggering problem:
I want to make a unit capturable and i have 3 teams which can capture. Like if anyone from team 1 takes its life under 300 (Owner of Damageing Unit) then it changes owner to Blue, NOT the owner of the damaging unit. But the teams can change, some player may ally someone else, only Blue will stay in his team, so i tried to make it with Event: Unit takes dmg. Condition: life of unit less than 300. Action: Player Group - Pick every ally of Blue and if then else with condition: owner of damaging unit is equal to Blue or Picked player and Action: Change owner of Unit to Blue. But for some reason it does not work.
Help please!


Solved with Boolean checking that the owner of damage source is ally of Blue = true
 
Last edited:
Status
Not open for further replies.
Top