Overview first: in the IG armoured company list you can select a number of doctrines for each vehicle.  Within the list the elite and HQ uints are command tanks and tank aces.  There is a special rule called Aces High which states that command and ace tanks must have at least as many points spent on doctrines as any other tank.
In the file when a doctrine is selected the points value is added to a unit stat so each can be tracked per unit.
A statcalc checks ace and command tanks finds the highest value of this stat
Another checks the highest other unit and finds the highest value for this stat
What I need is for another statcalc to find the lowest value for this stat for command and elite tanks that is not zero. The rule can then compare the two and flag this as an error.
The prob is the lowest value statcalc always seems to return zero regardless, the others work fine - I have changed the priority of the statcalc to as low as poss but it still does the same thing. Any ideas??
				
			In the file when a doctrine is selected the points value is added to a unit stat so each can be tracked per unit.
A statcalc checks ace and command tanks finds the highest value of this stat
Another checks the highest other unit and finds the highest value for this stat
What I need is for another statcalc to find the lowest value for this stat for command and elite tanks that is not zero. The rule can then compare the two and flag this as an error.
The prob is the lowest value statcalc always seems to return zero regardless, the others work fine - I have changed the priority of the statcalc to as low as poss but it still does the same thing. Any ideas??
 
	
