Events: A unit is attacked.
Conditions: Unit type of unit being attacked equal to gatecaptain.
Actions:If unit being attacked life is less than 50% of max hp(i think you can do percents :roll: if u cant just put in the 50%) Then change ownership of unit being attacked to owner of attacking unit Else do nothing.
2-
Events: Every 90 seconds
Conditions: none
Actions: Create 10 footmen(whatever unit) at position of gatecaptain(if u have already placed these units in the editor i suggest selecting them there and making a trigg for each one, if the person playing creates them you have to set them as variables) for owner of gatecaptain.
3-
Events: A player leaves the game in defeat
Conditions: none
Actions: If leaving player is equal to player 1(red)Then pick every unit in playable map area belonging to player 1(red)
give ownership of picked unit to player 2(blue) else do nothing.(and so on for every player. thats if you want to only give control to 1 player)
4-
Events: A hero dies
Conditions: none
Actions: If owner of dying unit equal to player 1(red)than Multiboard- change item at row (whatever) coulm(whatever) to |c(color code for grey here) + name of dying unit + |r else do nothing(do this for every person)