S
shawn at electricstitch.c
Guest
I have a unit w/ 1-3 models.
1 model may be upgraded to a leader.
Each model must take 3 weapon options.
I made the leader a child unit.
weapon options are in conflict group, allowing only 3 options.
weapon options have (base:delta+1)
unit has (lcmp:delta=3-msg=msg1)
(the idea being, you have to have three options, if you don't you will get
an error message.
I made the parent unit (zero) so that a leader can be chosen and also be the
only model. (You get a parent unit w/ zero models and a child unit w/ 1
model, which is the "leader").
The problem I ran into is the (lcmp) for taking 3 options. When the unit is
reduced to zero models (w/ child unit of 1), I get the validation error for
not having 3 weapon options in the parent unit.
I added an option "NoModels" (base:delta+3) and (usiz:max=0). This only
appears when the unit size is zero and effectivly removes the validation
error.
I am wondering if I have gone to too much trouble, is their an easier way of
solving this problem? Is their a way to make armybuilder auto-select the
"NoModels" option when the unit size is zero? (I could hide the option and
the user wouldn't be aware of it and would be ideal). Or is their a way to
make lcmp only valid if the unit size is greater than zero. (something like
(lcmp:delta=3&#>0), I know this doesn't work, but you get the idea.)
All I want is to be able to select zero models and not have the validation
error message appear.
Thanks,
Shawn
------------------------ Yahoo! Groups Sponsor ---------------------~-->
FREE COLLEGE MONEY
CLICK HERE to search
600,000 scholarships!
http://us.click.yahoo.com/ujOgTC/4m7CAA/ySSFAA/IMSolB/TM
---------------------------------------------------------------------~->
1 model may be upgraded to a leader.
Each model must take 3 weapon options.
I made the leader a child unit.
weapon options are in conflict group, allowing only 3 options.
weapon options have (base:delta+1)
unit has (lcmp:delta=3-msg=msg1)
(the idea being, you have to have three options, if you don't you will get
an error message.
I made the parent unit (zero) so that a leader can be chosen and also be the
only model. (You get a parent unit w/ zero models and a child unit w/ 1
model, which is the "leader").
The problem I ran into is the (lcmp) for taking 3 options. When the unit is
reduced to zero models (w/ child unit of 1), I get the validation error for
not having 3 weapon options in the parent unit.
I added an option "NoModels" (base:delta+3) and (usiz:max=0). This only
appears when the unit size is zero and effectivly removes the validation
error.
I am wondering if I have gone to too much trouble, is their an easier way of
solving this problem? Is their a way to make armybuilder auto-select the
"NoModels" option when the unit size is zero? (I could hide the option and
the user wouldn't be aware of it and would be ideal). Or is their a way to
make lcmp only valid if the unit size is greater than zero. (something like
(lcmp:delta=3&#>0), I know this doesn't work, but you get the idea.)
All I want is to be able to select zero models and not have the validation
error message appear.
Thanks,
Shawn
------------------------ Yahoo! Groups Sponsor ---------------------~-->
FREE COLLEGE MONEY
CLICK HERE to search
600,000 scholarships!
http://us.click.yahoo.com/ujOgTC/4m7CAA/ySSFAA/IMSolB/TM
---------------------------------------------------------------------~->