How do i make a trigger that regenerates units while out of combat and deactivate for an attacked unit that enters in combat, but continues for others. Even a trigger that works for single target would be ok.
A little help would be appreciated
I need a little help to know how to make a trigger that shows a gold reward, bounty reward at a target location or the head of the trigger unit, etc.
For example
A unit dies
the unit is killed by anything
set the gold reward animation at the head of the killer
I need a little help to figure it out how to remove a unit from a selling unit, if each player has 1 selling unit of its own.
Ex: if Player 1 buy unit1 from its selling unit, the unit is removed from selling the other players cannot buy that unit from their selling unit
Something like
Events
Unit - A unit Finishes training a unit
Conditions
Check which barracks made the unit
Actions
Was the unit it made a footman?
If 5 footman trained then spawn another 1 and reset