--- In [email protected], "Brent Easton" <[EMAIL PROTECTED]> wrote:
>
> James,
>
> Thinking about this more, you do not need to set a marker to a value
of the property sheet, the value is already available as a marker
value from the property sheet, just use $propName$ instead of the
marker you where trying to set. There is no reason to set another
marker to the same value. Same for the layer number.
>
> Regards,
> Brent.
It took me a while to figure out what you were getting at, but that's
wonderful! That helps immensely!
However, I am noticing some odd problems.
First bit. Some units have 'fighter factors' ("Fighters") and some
have 'heavy fighter factors' ("Heavy Fighters") (and some have both),
and I'm wanting to report totals in an inventory window and on mouse
over. The mouse over reports fine. But in the Inventory window, I'll
see "0402: SE: 1 : 8-8 (1H6)"; everything is fine, except that it's
reporting 1 heavy fighter (the number before the H) when the unit has
no property for heavy fighters (again, the on-map stack mouse-over
properly reports "0"). Going down the sub-folders in the inventory,
you get to the actual counter listing, which reads "CV: 0402: SE: 1 :
8-8 (Heavy FightersH6)". I had worried that the space in the name was
throwing it, but I also can get "NSV: 0403: SE: 1 : 4-8 (8HFighters)"
- the opposite situation, there's only heavy fighters on this one, and
the counter listing gives the *name* of the variable, and everything
above it gives a value of '1'.
I'm also noticing that the property reporting doesn't seem to deal
with fractions/decimals.
Thanks again for the help, things are on track after the last bit of
advice.
James