Im working on a map that uses "money units" (units that are used to buy other units) and i need to know how to make a trigger so that when a player has a certain number of units enter a region it gives him the unit and kills the amount of units needed to buy that unit but leaves any extra units alone(for instance, if i send 5 units into a region that only requires 3 to give the unit, it kills ONLY 3 units, gives the unit bought and leaves any extra "money units" alone.) This is sometimes used in Cannon defence type maps. Can anyone help me? Thanks.
0
@Thenarden: Go thanks alot your code worked flawlessly (Can't say the same thing about mine though). Now i can finish my map. :)
0
Im working on a map that uses "money units" (units that are used to buy other units) and i need to know how to make a trigger so that when a player has a certain number of units enter a region it gives him the unit and kills the amount of units needed to buy that unit but leaves any extra units alone(for instance, if i send 5 units into a region that only requires 3 to give the unit, it kills ONLY 3 units, gives the unit bought and leaves any extra "money units" alone.) This is sometimes used in Cannon defence type maps. Can anyone help me? Thanks.