• 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

SKipping a number between rangemin and rangemax

Eastshire

Member
I'm searching for an elegant solution to this problem:

A unit may have 4 of gun A, 3 of gun B or 2 or 3 of gun C.

I currently have this set up with a single selection option for both gun A and B and a 0-3 range option for gun C. All three options are in an exclusion group that's @x to @y with x and y set to 1 initially. They are also in an exclusion group of 0 to @z with z set to 3 (gun A and B count as 3 in this group while each selection of gun C counts as 1)

When gun C is first selected (selection = 1), it resets x to 2 and y to 3 and it disables guns A and B. Unfortunately, since the @x to @y exclusion group is not valid (only 1 of minimum 2) it's overriding the disablement of gun A and B. (Which is why I'm using the 0 to @z group, so selecting gun A or gun B at this point still throws an error).

Is there a way to get gun C to go from 0 to 2 and then 2 to 3?

I know another option would be to have a separate option for the third gun, but that feels clunky as well.
 
There's no way to do a range with an unusual progression like that. You can configure a "step" size and go 0-2-4-6-8, but we don't support going 0-2-3.

I can think of a couple of solutions:

1) Have the default be 2 of gun C, which you can increase to 3 normally. If guns A or B are selected, deselect (or kill) gun C.

2) Have gun C be a normal option, not a ranged option. When gun C is selected, link in another option that lets you choose between 2 and 3 of gun C.

3) Have gun C go 0-1-2-3, but report a validation error if someone only takes 1.

Hope this helps.
 
Back
Top