• 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

Setting and blocking allies

  • Thread starter Thread starter dom at wendndom.karoo.co.
  • Start date Start date
D

dom at wendndom.karoo.co.

Guest
Is there a way to have a set of allies for a roster, and then once
one is selected block the others from being used or does this have to
be done via rules which compare the rulesets?

i.e.

Race A has allies Race T - X

USer selects Race T as an ally and selects a unit, from this point on
can only use units from Race A and Race T

hope that makes sense?
 
There is no good way to block the available set of allies based on the
selection of a unit. However, you could easily set this up with a separate
rule context called "Ally Choice" (or the like). Have a separate ruleset
for each valid ally choice, allowing the user to pick the one he wants.
Then have each race only enable itself as an ally based on the appropriate
ruleset tag.

You'll also need to have a rule making sure that the total number of
distinct ally tags is one. This will make sure that the user doesn't add
ally X, then change the ruleset and add ally Y. Granted, the user would
have to be very intentionally breaking the rules to do it this way, but a
single rule to check the number of distinct ally tags is easy to write and
probably worth adding. :-)

-Rob

At 10:52 AM 2/25/2005 +0000, you wrote:
>Is there a way to have a set of allies for a roster, and then once
>one is selected block the others from being used or does this have to
>be done via rules which compare the rulesets?
>
>i.e.
>
>Race A has allies Race T - X
>
>USer selects Race T as an ally and selects a unit, from this point on
>can only use units from Race A and Race T
>
>hope that makes sense?


---------------------------------------------------------------------------
Rob Bowes (rob@wolflair.com) (650) 588-8252
Lone Wolf Development www.wolflair.com
 
Welcome back!!

The next thing is the allies aren't other races, but rulesets within
the same race, so I suupose the rule context would be the smoothest
way of doing things all round, having it set as a 'select one' option

cheers!!

--- In armybuilder@yahoogroups.com, Rob Bowes <rob@w...> wrote:
> There is no good way to block the available set of allies based on
the
> selection of a unit. However, you could easily set this up with a
separate
> rule context called "Ally Choice" (or the like). Have a separate
ruleset
> for each valid ally choice, allowing the user to pick the one he
wants.
> Then have each race only enable itself as an ally based on the
appropriate
> ruleset tag.
>
> You'll also need to have a rule making sure that the total number
of
> distinct ally tags is one. This will make sure that the user
doesn't add
> ally X, then change the ruleset and add ally Y. Granted, the user
would
> have to be very intentionally breaking the rules to do it this way,
but a
> single rule to check the number of distinct ally tags is easy to
write and
> probably worth adding. :-)
>
> -Rob
>
> At 10:52 AM 2/25/2005 +0000, you wrote:
> >Is there a way to have a set of allies for a roster, and then once
> >one is selected block the others from being used or does this have
to
> >be done via rules which compare the rulesets?
> >
> >i.e.
> >
> >Race A has allies Race T - X
> >
> >USer selects Race T as an ally and selects a unit, from this point
on
> >can only use units from Race A and Race T
> >
> >hope that makes sense?
>
>
> --------------------------------------------------------------------
-------
> Rob Bowes (rob@w...) (650) 588-8252
> Lone Wolf Development
www.wolflair.com
 
Back
Top