change the point value to the units selling cost. create a dummy unit. make a trigger
event - a unit finished training a unit
conditions - the trained unit is equal to dummy(or whatever)
actions - remove trained unit
- remove training unit
- give training units point value to owner of training unit current gold
Easy