• 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

Creating rules

stevothedivo

New member
Hey guys
still working on WMA Renaissance lists I've got it almost down pat.
Unfortunately I can't get the Lim/Max validation rule to work!
What can I be doing wrong?!?!
Definition filename is iwf, unit names are iwfFreXbow and iwfGend

Copying from the other (working) def files I have:
1. created a new rule with the unique ID as rule name under the Rule tab
2. Entered unique ID, scope and priority (no warning box tick)
3. Entered text to be read "One xxx required per 1000pt"
4. Entered roster.iwf
5. Entered (with no "" or italics)
"if (tagcount[unitid.iwfFreXbow] > 0) then
@valid = 1
done
endif
~ minimums do not apply to armies under 1000 points
if (tagvalue[roster.size?] < 1000) then
@valid = 1
endif"

6. Gone to Unit tab and set a limits rule of min1
7. Saved, exited ABC, opened AB3.0 (license paid, no pirating btw....)
8. I start my new roster and warnings read
"Army must contain only one General
One French Crossbowmen per 1000pt are required
One Gend d'Armes per 1000pt are required"
9. When I buy a General that message disappears. When I buy one of the other two units they don't. HOWEVER if I buy more than the limit allowed (say 3 per 1000pt) it does come up in red, which means it's working IN PART....

Bho...what am I doing wrong please?!
Thanks!
S.
 
Back
Top