<x-flowed>At 11:43 AM 1/11/00 +0100, you wrote:
>Got it...
>
>but coud anyone please give suggestions for Posting 347?
>I spent the entire night figuring out, how this could work.
That's odd. I just checked the web-page version of eGroups and it appears
that post ##343 - #347 never made it to my email mailbox! Sorry but I never
saw your post until you just flagged it to me. :-( I just pulled the posts
from the web-site and I'll attempt to answer both of them below....
#1 As you discovered, you can't utilize conflict groups when different
units can take items in various amounts. You also can't impose a limit on
the number of items of a particular category if that number varies. The
solution is to use the "clmt" attribute for units. Using this attribute,
you can restrict that Unit X may only take 2 items of Wargear, 2 items of
Exarch Skills, and 1 item of Exarch Wargear. If conflict groups work, that
is preferable (IMHO). When conflict groups don't work, "clmt" is the solution.
#2 You asked the posed the following:
Unit X has Option A by default (without paying for it)
Unit X may buy Option A additionally (and pay for it)
If I understand you correctly, you want Unit X to be given 1 of Option A
for free and have the option of buying a second Option A at its proper
cost. Assuming this is correct, there are a few ways to handle this.....
1. Create Option A with the "rang" attribute, providing the range "1-2".
Assign the cost to the option normally. Create another Option B that has
the "hide" attribute and the NEGATIVE cost of Option A. Attach Option B to
the unit with the "auto" link nature. This will be invisible to the user
and automatically credit back the cost of selecting only one of Option A.
It will look like Option A is free when picked once and has the proper cost
when picked a second time. I think Colen tried to answer this one
previously, but maybe his explanation wasn't clear enough.
2. Create Option A and add it to the unit via the "incl" link nature.
Create Option B that is label "Two of Option A". Assign it the proper cost
for the 2nd selection of Option A and attach it to the unit via the "cost"
link nature. Then, assign Option B the attribute "over:OptionA=deselect".
Whenever the user selects Option B, it will automatically deselect Option A
and charge him for the second instance of Option A.
3. You could also use the "tabl" attribute for this, but it's probably more
work than would be worthwhile, so don't bother with it.
Hope this helps,
Rob
---------------------------------------------------------------------------
Rob Bowes (rob@wolflair.com) (650) 726-9689
Lone Wolf Development
www.wolflair.com
------------------------------------------------------------------------
To unsubscribe from this group, email
armybuilder-unsubscribe@egroups.com
------------------------------------------------------------------------
For the fastest and easiest way to backup your files and, access them from
anywhere. Try @backup Free for 30 days. Click here for a chance to win a
digital camera.
http://click.egroups.com/1/337/1/_/36190/_/947596629/
eGroups.com Home:
http://www.egroups.com/group/armybuilder/
http://www.egroups.com - Simplifying group communications
</x-flowed>