Supply problems, help needed
Hello everybody, as you know I am busy making the new supply/transport supply/depot into the scenarios. With testing some problems show up. I hope we can fix that and that someone has a solution.

- supply.jpg (250.96 KiB) Viewed 3218 times
In basic it works well. The Supply transport gets to the supplydepot and activates the hexes around it. If you move in a ground unit in one of the surrounded hexes of the depot this unit gets supply like planned. So far so good.
In the script however is a "Run count" option. With a run count number the system will repeat the action because normally the action only take place 1 time and we want it to be possible to resupply more ground units with the depot. If I set the run count to 25 the depot can do 25 resupplies and than the actions are finished and the supply depot is "empty". So far so good, it works.
But now the problems! I discovered 2 major problems:
1 - If you put a ground unit in the supply zone it gets supply. But if, in the same turn, you click that unit again it gets supply again and again and again till the runcounts are finished. So you can give that unit 25 times supply in one turn.
2 - High resupply numbers will appear by more resupplies. For example there are 6 resupply hexes around a depot. Every unit arriving in one of the hexes must get supply. But the number of supply increases? For example if the fuel refuel is 10, the first arriving unit gets 10 fuel biut the second gets 20 fuel and the third gets 30 fuel. We see this back in repeated supply giving to the same unit. The supply numbers increase with every resupply, sometimes with great numbers.
It's impossible to use the system in the game like it works now. So I hope someone has a solution for this problems.
I found out a other system that seems to work well, but if the system above will work it's better I think.
What does seems to work is the following:

- Naamloos.jpg (174.96 KiB) Viewed 3218 times
Put the supply transport in one of the surrounding hexes near the depot. This will activate the depot (Depot graphic hex, one hex only). You can put the unit that needs resupply on the depot graphic hex (one for every turn, every Depot can resupply 1 ground unit every turn). Every depot has a nummer of resupply points, for example 250. Supply will be given to a unit by 1 point at the time but you can repeat that by clicking again on the unit. So if a ground unit gets on a activ Fuel supply depot it gets 1 fuel point automatic, 249 left in the depot. The player can decide now exactly how much fuel to give to that unit. Every click on the unit will give 1 fuel point to the unit. If all 250 points are spent the depot will be "empty" for the rest of the scenario time. (The run count can be set higher than 250, we have to test what will be the best.
If we can fix the first idea it will be the best I think, if we can not the second idea will work and be the choice then. Or if more people think the second idea is better we can use that anyway. Please give your reaction.
With depots you can give supply to a unit going over it normal max numbers. This can be very usefull before a attack on a major city or so to prevent running out of ammo or for a offensive getting out of fuel.