Is there an easy way to add a tag that holds a value, i.e. chTrack.chCount5 or chTrack.chCount10, depednant upon the number on the squad instead of having to have a procedure that goes something like:
if (count[model] = 1) then
retval = unit.assign[chTrack.chCount1)
endif
....
if (count[model] = 5) then
retval = unit.assign[chTrack.chCount5)
endif
etc etc
For a small unit it is no great prob, but for the Chosen this can go up to 20+. The current solution adds a tag for each member but again I would prefer to not to have that many tags. Something like:
retval = unit.assign[chTrack.chCount*]
where the * could be the model count??
if (count[model] = 1) then
retval = unit.assign[chTrack.chCount1)
endif
....
if (count[model] = 5) then
retval = unit.assign[chTrack.chCount5)
endif
etc etc
For a small unit it is no great prob, but for the Chosen this can go up to 20+. The current solution adds a tag for each member but again I would prefer to not to have that many tags. Something like:
retval = unit.assign[chTrack.chCount*]
where the * could be the model count??