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
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: