J
jerrya at wellspringsolut
Guest
Hi all,
I'm new to creating AB files so bear with me on this one. I'm putting
together AB files for a game called AK47 Republic. The organization of the
game somewhat maps to how AB is designed but there are some gaps. One of the
gaps that I am trying to close involves restricting the number of units
present in a roster. This is how things are organized - I will use Warhammer
40k as a reference.
Roster type: Religious, Popular Front = Imperial Guard, Orks, etc.
Composition groups: Professional, Regular, Militia = HQ, Elites, Troops,
etc.
Units: Unit 1, 2, 3, 4, 5 = Armored Fist Squad, Basilisk, etc.
The problem that I am trying to solve is for an army roster to be valid
there can be only 5 units, filled out with other options of course, but
nonetheless the roster can only have 5 units and the units can be any one of
the composition groups i.e. Professional, Regular or Militia. I've created
specific Units for each Composition Group e.g. there is a Professional Unit
1, Regular Unit 1 and a Militia Unit 1. The user is only allowed to have one
Unit 1 - either Professional, Regular or Militia. How do I setup the
validation rules so that I can look at the entire roster and only allow a
single unit to be created regardless of its composition group? I would like
to use the Unit Category field but I can't figure out how to validate using
it. The reason I would like to use that field is because I've used it to
uniquely identify each unit regardless of its composition group. BTW - I
have been able to figure out how to restrict the users from creating more
than one unit of each type by limiting the size to a max of one.
Thanks
Jerry
------------------------ 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
---------------------------------------------------------------------~->
I'm new to creating AB files so bear with me on this one. I'm putting
together AB files for a game called AK47 Republic. The organization of the
game somewhat maps to how AB is designed but there are some gaps. One of the
gaps that I am trying to close involves restricting the number of units
present in a roster. This is how things are organized - I will use Warhammer
40k as a reference.
Roster type: Religious, Popular Front = Imperial Guard, Orks, etc.
Composition groups: Professional, Regular, Militia = HQ, Elites, Troops,
etc.
Units: Unit 1, 2, 3, 4, 5 = Armored Fist Squad, Basilisk, etc.
The problem that I am trying to solve is for an army roster to be valid
there can be only 5 units, filled out with other options of course, but
nonetheless the roster can only have 5 units and the units can be any one of
the composition groups i.e. Professional, Regular or Militia. I've created
specific Units for each Composition Group e.g. there is a Professional Unit
1, Regular Unit 1 and a Militia Unit 1. The user is only allowed to have one
Unit 1 - either Professional, Regular or Militia. How do I setup the
validation rules so that I can look at the entire roster and only allow a
single unit to be created regardless of its composition group? I would like
to use the Unit Category field but I can't figure out how to validate using
it. The reason I would like to use that field is because I've used it to
uniquely identify each unit regardless of its composition group. BTW - I
have been able to figure out how to restrict the users from creating more
than one unit of each type by limiting the size to a max of one.
Thanks
Jerry
------------------------ 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
---------------------------------------------------------------------~->