Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Army Builder Forums > Army Builder

Notices

Reply
 
Thread Tools Display Modes
khrk2012
Member
Volunteer Data File Author
 
Join Date: May 2005
Posts: 42

Old February 23rd, 2020, 10:26 AM
I am confused on where to enter and what to enter. The only validation is that one group of 'Personality Points not exceed 50% of the roster army points total.

How can I achieve this? I can find no examples in the AB files - and maybe I do not know where to look.....

AB 3.+
khrk2012 is offline   #1 Reply With Quote
Homer S
Senior Member
Volunteer Data File Author
 
Join Date: Apr 2009
Posts: 122

Old March 10th, 2020, 04:34 PM
I think what you might want is this:

Create a stat something like persPts with the accumulated option set.
Create a rule something like

var persRatio as number

persRatio = roster.stat[persPts]/roster.usersize

if (persRatio <= 0.5) then
@valid = 1
else
@valid = 0
endif

Homer

The only "hobby" GW is interested in is lining their pockets with your money.
Homer S is offline   #2 Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 04:26 AM.


Powered by vBulletin® - Copyright ©2000 - 2020, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.