Alright, now for explaining the event...
First we set the TempVar2 to be the current players turn. This is the same value as that players regime number. Useful to know.
Then we set the values for TempVar3 to TempVar5. They are what each city, capitol city, and town produce. I set them at 2, 4 and 1... but any value will do, as long as you think it is fitting.
Then we check all hexes on the map. We do this by making two loops. The first one goes across the map, looking at each hex, the second downwards, looking at each hex. Together they will cover the entire map.
For each hex we do a check. We check if the hex is owned by the current player, if it is we check if it is one of the location types (0, 1 and 20) that we noted earlier.
If it is, we set the RegimeVar that is the current players turn, to a value, the one we defined in TempVars3 to 5. And here i discover i have made a coding error....
Never fear, we can change that fast... will get right on it. :)