• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

Leader/Follower mechanism and -accum

  • Thread starter Thread starter rjs at inorbit.com
  • Start date Start date
R

rjs at inorbit.com

Guest
I'm trying to get the leader/follower stuff to work with accumulated
stats and it's driving me crazy. I'm obviously doing something
really dumb but I just can't see it.

I have the following units:
"General"
external attributes: lead:any-Sldr,Elte-accum@SCnt=SCnt,ECnt=ECnt

"Soldier"
comp group: Sldr
external attributes: foll:xx-must
option links: sldrcnt:auto

Option sldrcnt has two attributes: hide, stat:SCnt=(#)

I can add the two units to a roster and set the Soldier unit Leader
to be the General unit. I can see the hidden stat SCnt on the
Soldier unit and it is equal to the model count for the unit. If I
look at the same stat on the General unit, it's set to 0

I tried getting rid of the sldrcnt option and setting the SCnt stat
to a number on the Soldier unit directly but it still didn't
accumulate up to the leader.

What am I doing wrong? Is there an order of processing that I don't
understand? I have checked that auto validation is turned on (I
understand that accumulation happens as part of validation...)
Which leads me to ask: If I have an lcmp attribute on General
comparing SCnt to one if it's other stats, is it going to compare
the accumulated value, or does the lcmp happen before the accum?

Cheers,
Russell
--
Russell Sparkes, rjs@inorbit.com, http://www24.brinkster.com/rjsoz
"Experience is what you get just after you needed it" - Unknown


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/IMSolB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, email

armybuilder-unsubscribe@yahoogroups.com

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
 
At 09:39 PM 11/17/2003, you wrote:
>I'm trying to get the leader/follower stuff to work with accumulated
>stats and it's driving me crazy. I'm obviously doing something
>really dumb but I just can't see it.
>
>I have the following units:
>"General"
>external attributes: lead:any-Sldr,Elte-accum@SCnt=SCnt,ECnt=ECnt
>
>"Soldier"
>comp group: Sldr
>external attributes: foll:xx-must
>option links: sldrcnt:auto
>
>Option sldrcnt has two attributes: hide, stat:SCnt=(#)
>
>I can add the two units to a roster and set the Soldier unit Leader
>to be the General unit. I can see the hidden stat SCnt on the
>Soldier unit and it is equal to the model count for the unit. If I
>look at the same stat on the General unit, it's set to 0
>
>I tried getting rid of the sldrcnt option and setting the SCnt stat
>to a number on the Soldier unit directly but it still didn't
>accumulate up to the leader.

Strange. I just created a 2-unit test of this, and I got the expected
behaviour. Could you upload your files somewhere (or email me them off-list
- colen at wolflair dot com) for me to have a look at?

>What am I doing wrong? Is there an order of processing that I don't
>understand? I have checked that auto validation is turned on (I
>understand that accumulation happens as part of validation...)
>Which leads me to ask: If I have an lcmp attribute on General
>comparing SCnt to one if it's other stats, is it going to compare
>the accumulated value, or does the lcmp happen before the accum?

It *appears* that the lcmp happens before the accum. Thus, any accumulated
stat isn't counted.


--
Colen McAlister (colen@wolflair.com)
Lone Wolf Development www.wolflair.com


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/IMSolB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, email

armybuilder-unsubscribe@yahoogroups.com

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
 
Back
Top