• 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

Strange things going on with appended option sorting

  • Thread starter Thread starter Randel.Clawson at CTBTO.o
  • Start date Start date
R

Randel.Clawson at CTBTO.o

Guest
I still haven't been able to find a solution to my problem with option sorting when the options are part of a unit added as a child via an option. Further, I'm really confused on how the option sort order is working since the following is happening:

Unit Name ## Hts Spd Trn Shd Arm Trt Ldr Cost
Corsair Squ. 1 - - - - - - 175
Corsair 1 1 1 40cm 90° Shadowfield 4+ - [50]
Corsair 2 1 1 40cm 90° Shadowfield 5+ 1 [60]
Corsair 3 1 1 35cm 90° Shadowfield 5+ 2 [65]
Cor3 Wpns 1 Cor3 Weapons 1 -
Cor3 Wpns 2 Cor3 Weapons 2 -
Cor1 Wpns 1 Cor1 Weapons 1 -
Cor1 Wpns 2 Cor1 Weapons 2 -
Cor2 Wpns 1 Cor2 Weapons 1 -
Cor2 Wpns 2 Cor2 Weapons 2 -

'Corsair Squ.' is a unit purchased from the list of 'Available Units' and 'Corsair 1' through 'Corsair 3' are added as child units via options for each 'Add Corsair 1', 'Add Corsair 2', etc. The weapons for each child unit are options with the 'apnd' and 'invs:nodisplay' attributes.

In the test data file illustrated above, the 'Add Corsair X' options are assigned in progressively 'lower' categories, with the 'weapon options' mixed in between according to which Corsair they are attached, like so:

C1 ~1st Corsair
C11 ~1st Corsair's 1st weapon
C12 ~1st Corsair's 2nd weapon
C2 ~2nd Corsair
C21 ~...
C22
C3
C31
C32

With this sorting, ~how~ are the weapon options for Corsair 3 being appended ~before~ those for Corsair 1 and 2? I'm 100% ~certain~ that 'Cor1 Wpns 1', 'Cor1 Wpns 2', 'Cor2 Wpns 1' and 'Cor2 Wpns 2' are set to higher categories like I describe above. How exactly does the sorting for appended options work?

Cheers,
Randel
------------------
Randel's BFG Stuff
http://www.madtexan.com/BFG/index.html

------------------------ 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/l.m7sD/LIdGAA/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 03:08 PM 8/20/2003 +0200, you wrote:
>I still haven't been able to find a solution to my problem with option
>sorting when the options are part of a unit added as a child via an
>option. Further, I'm really confused on how the option sort order is
>working since the following is happening:
>
>Unit Name ## Hts Spd Trn Shd Arm Trt Ldr Cost
>Corsair Squ. 1 - - - - - - 175
> Corsair 1 1 1 40cm 90° Shadowfield 4+ - [50]
> Corsair 2 1 1 40cm 90° Shadowfield 5+ 1 [60]
> Corsair 3 1 1 35cm 90° Shadowfield 5+ 2 [65]
> Cor3 Wpns 1 Cor3 Weapons 1 -
> Cor3 Wpns 2 Cor3 Weapons 2 -
> Cor1 Wpns 1 Cor1 Weapons 1 -
> Cor1 Wpns 2 Cor1 Weapons 2 -
> Cor2 Wpns 1 Cor2 Weapons 1 -
> Cor2 Wpns 2 Cor2 Weapons 2 -
>
><snip>
>
>With this sorting, ~how~ are the weapon options for Corsair 3 being
>appended ~before~ those for Corsair 1 and 2? I'm 100% ~certain~ that 'Cor1
>Wpns 1', 'Cor1 Wpns 2', 'Cor2 Wpns 1' and 'Cor2 Wpns 2' are set to higher
>categories like I describe above. How exactly does the sorting for
>appended options work?

Strange; could you post the data files in the Files section of this group
so that I can have a look at them?

Thanks,


--
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/l.m7sD/LIdGAA/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/
 
Colen McAlister wrote:
> Strange; could you post the data files in the Files section of this
> group so that I can have a look at them?

I've already modified the test data files I was using for this, but
it would be easy to change them back so you can see what's going on
for yourself. I should have them posted in a day or so.

Cheers,
Randel

------------------------ 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/l.m7sD/LIdGAA/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