• 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

Another 'How do you...' question

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

cmanos at crt.xerox.com

Guest
Alright.

I've got a file with two scenarios (one and two) and three races (ra,
rb, and rc). ra and rb are allowed in scenario one. rb and rc are
allowed in scenario two.

I've figured out how to restrict units, options and items to
different scenarios, but restricting races by scenario is proving an
interresting problem.

I have tried adding the Special Attribute 'hide:mode=one' to the
race, but I get an error. If I change it to 'hide:-mode=one' I don't
get an error in ABC, but When I go into AB and try to open the files,
I get an Illegal Op Error.

I've tried defining an augment to the race as well with the same
results.

I've looked through all the Race Attributes and 'hide' seems to be
the only one that would restrict a race on the basis of scenario.

Any ideas on where to go from here?

Thanks

Chris


To unsubscribe from this group, email

armybuilder-unsubscribe@egroups.com
 
At 16:32 23/01/01 +0000, you wrote:
>Alright.
>
>I've got a file with two scenarios (one and two) and three races (ra,
>rb, and rc). ra and rb are allowed in scenario one. rb and rc are
>allowed in scenario two.

>I've figured out how to restrict units, options and items to
>different scenarios, but restricting races by scenario is proving an
>interresting problem.
>
>I have tried adding the Special Attribute 'hide:mode=one' to the
>race, but I get an error. If I change it to 'hide:-mode=one' I don't
>get an error in ABC, but When I go into AB and try to open the files,
>I get an Illegal Op Error.
>
>I've tried defining an augment to the race as well with the same
>results.
>
>I've looked through all the Race Attributes and 'hide' seems to be
>the only one that would restrict a race on the basis of scenario.
>
>Any ideas on where to go from here?

You can't restrict races by mode - it's really the other way around :)

Define scenario two as mode:whatever-legal=!race=ra. This will stop it
appearing for the race 'ra'.


--
'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


To unsubscribe from this group, email

armybuilder-unsubscribe@egroups.com
 
There is no way to make the race dependent on the mode, since the logic is
reversed internally (i.e. the mode is dependent on the race). The solution
is to specify that the mode is only available for the specific races it
applies to. If the user selects race ra, only scenario one is displayed. If
he selects race rc, only scenario two is displayed. Does that help?

BTW, the "hide" attribute on races is intended solely for the creation of
"base class" races that other races inherit from and don't actually exist
themselves.

Thanks, Rob


At 04:32 PM 1/23/01 +0000, you wrote:
>Alright.
>
>I've got a file with two scenarios (one and two) and three races (ra,
>rb, and rc). ra and rb are allowed in scenario one. rb and rc are
>allowed in scenario two.
>
>I've figured out how to restrict units, options and items to
>different scenarios, but restricting races by scenario is proving an
>interresting problem.
>
>I have tried adding the Special Attribute 'hide:mode=one' to the
>race, but I get an error. If I change it to 'hide:-mode=one' I don't
>get an error in ABC, but When I go into AB and try to open the files,
>I get an Illegal Op Error.
>
>I've tried defining an augment to the race as well with the same
>results.
>
>I've looked through all the Race Attributes and 'hide' seems to be
>the only one that would restrict a race on the basis of scenario.
>
>Any ideas on where to go from here?
>
>Thanks
>
>Chris


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


To unsubscribe from this group, email

armybuilder-unsubscribe@egroups.com
 
Back
Top