Hi guys, I'm trying to work out if there's a way to restock a unit, as in;
A building sells a unit and the stock of that unit goes to 0, so no more can be bought. When that unit dies, the stock of that unit goes back to 1 so that another can be bought. I've already thought about replacing the building but that will reset any other purchases too, I've also thought about limiting players to only a certain amount of that unit, but that doesn't apply to 'sold' units, only trained - also, I only want to have one of these units on the field at the time, not 1 per player, so selling and (somehow) restocking once it dies seems to be the way to go. I'm hoping there's a simple trigger function I've missed .
- thanks
A building sells a unit and the stock of that unit goes to 0, so no more can be bought. When that unit dies, the stock of that unit goes back to 1 so that another can be bought. I've already thought about replacing the building but that will reset any other purchases too, I've also thought about limiting players to only a certain amount of that unit, but that doesn't apply to 'sold' units, only trained - also, I only want to have one of these units on the field at the time, not 1 per player, so selling and (somehow) restocking once it dies seems to be the way to go. I'm hoping there's a simple trigger function I've missed .
- thanks