Sorry this must be a really noob question but i cant figure it out. Im trying to make it when it gets down to 200hp make it change teams to the team of the unit who attacked it, theres two teams, but it only changes ownership to team 1. And also its all messed up because all the things start as neutral hostile, so mostly im just wonder how do you make it to change sides to the team of the attacker.
I have a trigger for both teams
Event
Unit- life becomes less than 200
Condition
triggering unit belongs to enemy of player red(1)/green(7) equal to true
Action
Change ownership to player red/green
set life to 100%
I have a trigger for both teams
Event
Unit- life becomes less than 200
Condition
triggering unit belongs to enemy of player red(1)/green(7) equal to true
Action
Change ownership to player red/green
set life to 100%