• 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

Reverse numeric sort

  • Thread starter Thread starter sebastian at crazybearand
  • Start date Start date
S

sebastian at crazybearand

Guest
How do I sort items in an arbitary order in the unit list?

I have two units one named "Star" and the other named "Grunt" that I want to
display in the following order...

Grunt
Star

I tried a private stat but they cannot appear in a units stat set...

Cheers

Sebastian
 
Sort order is controlled via the tag group that corresponds to the stat.
You need to define the tag group with an explicit order, then you can
assigned the specific sequence index to each of the tags within that group.
Then the sorting for that stat will be done in the sequence you specify.

Hope this helps,
Rob

At 07:27 PM 4/16/2005 +0100, you wrote:

>How do I sort items in an arbitary order in the unit list?
>
>I have two units one named "Star" and the other named "Grunt" that I want to
>display in the following order...
>
>Grunt
>Star
>
>I tried a private stat but they cannot appear in a units stat set...
>
>Cheers
>
>Sebastian


---------------------------------------------------------------------------
Rob Bowes (rob@wolflair.com) (650) 588-8252
Lone Wolf Development www.wolflair.com
 
Back
Top