• 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

Inter Option Dependance

  • Thread starter Thread starter cmanos at crt.xerox.com
  • Start date Start date
C

cmanos at crt.xerox.com

Guest
Alrighty

A unit has 3 weapon choices, A B and C. each of them can be chosen
as a range, but you can't have weapon A and weapon B in the same
unit. You can have A and C or B and C, all A, or all B, but not A
and B.

Is there a function that will send up a flag if the user chooses some
of A and some of B?
 
One fine day in the middle of the night, cmanos@crt.xerox.com got up to
write:

>Alrighty
>
>A unit has 3 weapon choices, A B and C. each of them can be chosen
>as a range, but you can't have weapon A and weapon B in the same
>unit. You can have A and C or B and C, all A, or all B, but not A
>and B.
>
>Is there a function that will send up a flag if the user chooses some
>of A and some of B?

Why not give A the attribute over:B=deselect and B the attribute
over:A=deselect?

--
'Not Colin' McAlister | License to Skrill
Email: demandred@skrill.org | Visit http://www.skrill.org/ today!
-----------------------------+------------------------------------
"Dovie'andi se tovya sagain" - Robert Jordan's Wheel Of Time

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Epil Stop & Spray Painless Hair Removal. Spray on and wipe off!
Just $24.95 at Youcansave.com
http://us.click.yahoo.com/gC2sGD/6jNDAA/ySSFAA/IMSolB/TM
---------------------------------------------------------------------~->
 
doesn't seem to work with the rang function. I'll try it again


> Why not give A the attribute over:B=deselect and B the attribute
> over:A=deselect?
>
> --
> 'Not Colin' McAlister | License to Skrill
> Email: demandred@s... | Visit http://www.skrill.org/ today!
> -----------------------------+------------------------------------
> "Dovie'andi se tovya sagain" - Robert Jordan's Wheel Of Time
 
At 11:29 PM 11/2/2001 +0000, you wrote:
>One fine day in the middle of the night, cmanos@crt.xerox.com got up to
>write:
>
> >Alrighty
> >
> >A unit has 3 weapon choices, A B and C. each of them can be chosen
> >as a range, but you can't have weapon A and weapon B in the same
> >unit. You can have A and C or B and C, all A, or all B, but not A
> >and B.
> >
> >Is there a function that will send up a flag if the user chooses some
> >of A and some of B?
>
>Why not give A the attribute over:B=deselect and B the attribute
>over:A=deselect?

Excellent idea. If you don't like that method and prefer using a validation
rule, simply have option A assign "typeA" to the unit and option B assign
"typeB". You can then use a "trat" attribute to verify that the presence of
typeA precludes the presence of typeB.

Thanks, Rob

---------------------------------------------------------------------------
Rob Bowes (rob@wolflair.com) (650) 726-9689
Lone Wolf Development www.wolflair.com
 
I believe this should work, as long as you have the ranges start at zero.
If the ranges start at non-zero values, this will definitely NOT work. It's
also possible that I'm very rusty at the nuances of the "over" attribute
and that I'm forgetting an important reason why this doesn't work. But
Colen uses the "over" attribute extensively, so I'm inclined to trust his
recommendation on this one. :-)

Thanks, Rob


At 12:28 PM 11/5/2001 +0000, you wrote:
>doesn't seem to work with the rang function. I'll try it again
>
>
> > Why not give A the attribute over:B=deselect and B the attribute
> > over:A=deselect?


---------------------------------------------------------------------------
Rob Bowes (rob@wolflair.com) (650) 726-9689
Lone Wolf Development www.wolflair.com


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Pogo Stick - Just $24.95!
Great gift idea for kids of all ages, from Youcansave.com
http://us.click.yahoo.com/t5NeUC/QkNDAA/ySSFAA/IMSolB/TM
---------------------------------------------------------------------~->
 
tried it with the over finction and couldn't get it to work. I'll
try it with the trat...that I believe is exactly what I was looking
for. I'm just dense that I didn't think of it.

Chris

--- In armybuilder@y..., Rob Bowes <rob@w...> wrote:
> I believe this should work, as long as you have the ranges start at
zero.
> If the ranges start at non-zero values, this will definitely NOT
work. It's
> also possible that I'm very rusty at the nuances of the "over"
attribute
> and that I'm forgetting an important reason why this doesn't work.
But
> Colen uses the "over" attribute extensively, so I'm inclined to
trust his
> recommendation on this one. :-)
>
> Thanks, Rob
>
>
> At 12:28 PM 11/5/2001 +0000, you wrote:
> >doesn't seem to work with the rang function. I'll try it again
> >
> >
> > > Why not give A the attribute over:B=deselect and B the attribute
> > > over:A=deselect?
>
>
> --------------------------------------------------------------------
-------
> Rob Bowes (rob@w...) (650) 726-9689
> Lone Wolf Development
www.wolflair.com
 
OK

I set OptionA to rang:0-8 and over:OptionB=deselect, and OptionB to
rang:0-8 and over:OptionA=deselect.

When I run AB, Both options start at zero, which is correct, but then
you start adding one option the other option does not deselect, and
you are still able to take that option.

I looked into using the typeA, typeB, trat method but I don't believe
this will work as this is used between two units...whan I need is to
prevent the same unit from taking the two different options.


>
> At 12:28 PM 11/5/2001 +0000, you wrote:
> >doesn't seem to work with the rang function. I'll try it again
> >
> >
> > > Why not give A the attribute over:B=deselect and B the attribute
> > > over:A=deselect?
>
>
> --------------------------------------------------------------------
-------
> Rob Bowes (rob@w...) (650) 726-9689
> Lone Wolf Development
www.wolflair.com


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Universal Inkjet Refill Kit $29.95
Refill any ink cartridge for less!
Includes black and color ink.
http://us.click.yahoo.com/E11sED/MkNDAA/ySSFAA/IMSolB/TM
---------------------------------------------------------------------~->
 
Back
Top