J
jerrya at wellspringsolut
Guest
Ok all you AB wizards out there - here are some more questions. I'll use
Warhammer 40k as my reference again.
I need to limit the number of units that can have a specific option to three
regardless of composition group.
For example:
My composition groups are Professional, Regular and Militia = HQ, Elite,
Troop
I have 5 units for each composition group - 1, 2, 3, 4, 5 = Armored Fist
Squad, Sentinel, etc.
Each unit can be made up of a specific set of options unique to the
composition group. These options are really hidden units.
A roster might look as follows:
Unit 1 - Professional
Option - Tank * 2
Unit 2 - Regular
Option - Tank * 3
Unit 3 - Militia
Option - Infantry * 8
Unit 4 - Militia
Option - Infantry * 8, RPG * 2
Unit 5 - Militia
Option - Infantry * 8, HMG * 2
Note: Tank, Infantry, RPG and HMG are all unit options based on hidden unit
types.
For a given roster they may be limitations on how many of each type a roster
or unit may have. For example, the roster above has 5 tanks but only two
units have them. I need to create a validation rule that allows for just
such a case. Any number of tanks (i.e. options) within a single unit but
only two units can have tanks. I've tried using the "tlmt" and "ulmt" along
with "type" but that only seems to work on "units" not "unit options".
Anyone know how to do this?
Also, I need to restrict the total number of models that a unit has to no
more than 20. Again this is by using "unit options" which use "hidden
units". In the case above Unit 5 has two options selected, Infantry and HMG,
for a total of 10 models. A user could only add 10 more models. Again I have
tried using the obvious "unit" validation rules but they don't seem to work
for units created via a "unit option".
Thanks
Jerry
P.S. If this isn't very clear I can supply my army lists so you can see
first hand how I've created them.
------------------------ 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/kL8TtD/MkNDAA/ySSFAA/IMSolB/TM
---------------------------------------------------------------------~->
Warhammer 40k as my reference again.
I need to limit the number of units that can have a specific option to three
regardless of composition group.
For example:
My composition groups are Professional, Regular and Militia = HQ, Elite,
Troop
I have 5 units for each composition group - 1, 2, 3, 4, 5 = Armored Fist
Squad, Sentinel, etc.
Each unit can be made up of a specific set of options unique to the
composition group. These options are really hidden units.
A roster might look as follows:
Unit 1 - Professional
Option - Tank * 2
Unit 2 - Regular
Option - Tank * 3
Unit 3 - Militia
Option - Infantry * 8
Unit 4 - Militia
Option - Infantry * 8, RPG * 2
Unit 5 - Militia
Option - Infantry * 8, HMG * 2
Note: Tank, Infantry, RPG and HMG are all unit options based on hidden unit
types.
For a given roster they may be limitations on how many of each type a roster
or unit may have. For example, the roster above has 5 tanks but only two
units have them. I need to create a validation rule that allows for just
such a case. Any number of tanks (i.e. options) within a single unit but
only two units can have tanks. I've tried using the "tlmt" and "ulmt" along
with "type" but that only seems to work on "units" not "unit options".
Anyone know how to do this?
Also, I need to restrict the total number of models that a unit has to no
more than 20. Again this is by using "unit options" which use "hidden
units". In the case above Unit 5 has two options selected, Infantry and HMG,
for a total of 10 models. A user could only add 10 more models. Again I have
tried using the obvious "unit" validation rules but they don't seem to work
for units created via a "unit option".
Thanks
Jerry
P.S. If this isn't very clear I can supply my army lists so you can see
first hand how I've created them.
------------------------ 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/kL8TtD/MkNDAA/ySSFAA/IMSolB/TM
---------------------------------------------------------------------~->