• 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

Restricting units based on game size and ruleset

rnrusa16

New member
Hi, I'm new to authoring files for AB. Tutorials and such have gotten me to a somewhat functional state but I'm missing something and have not been able to find it in my searches.

I've got 2 rulesets, one core and one that is a little more restrictive for tournaments. Based on points value of the list, different types of units are restricted, either in number or not allowed altogether.

I found that I could put a restriction on the number in the unit type itself, but this is carrying through everything. How do I restrict based on points value of the game and then ruleset being used?

Thanks!
 
For units that are not allowed in the tournament ruleset then put in the member section a "not" live tag, i.e. !(ruleset.tournament) - that will stop it from being displayed.

For the units that are restricted in number that can be taken then try using a merge script and tag - if you have a look at the Bolt Action datafiles and the limit tag and the limit rules (in generalBADat.dat) - you can then put an override on each unit that is restricted in number that when the tournament ruleset is active the tag is applied which then will restrict the number allowed

Hope that helps
 
Back
Top