Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Army Builder Forums > Army Builder
Register FAQ Community Today's Posts Search

Notices

Reply
 
Thread Tools Display Modes
UltraPrime
Senior Member
Volunteer Data File Author
 
Join Date: Oct 2008
Location: Bristol, UK
Posts: 483
Send a message via MSN to UltraPrime

Old March 4th, 2011, 01:20 AM
When I am creating a unit that has a child unit whose size depends on parent, I'm running into errors as AB rounds to nearest, not up as I need.

Example - unit requires a child unit that equals 1 member per 3 parents. The formula I use is:

@minimum = count[base] / 3

For a 10-man parent unit, this creates a 3-man child unit. But it needs to be 4.

Any suggestions?
UltraPrime is offline   #1 Reply With Quote
UltraPrime
Senior Member
Volunteer Data File Author
 
Join Date: Oct 2008
Location: Bristol, UK
Posts: 483
Send a message via MSN to UltraPrime

Old March 4th, 2011, 05:52 AM
Nevermind, figured it out
UltraPrime is offline   #2 Reply With Quote
Mr_Rose
Senior Member
 
Join Date: Apr 2008
Posts: 278

Old March 4th, 2011, 08:11 AM
Well? Don't keep us in suspense man!

Also; pre-emptive bug report: remember to make sure Savage Orc Boar Boyz get the extra attack on their profile for two hand weapons.

Click here to get 2.25GB of DropBox cloud storage free!

I've always wondered about the first person that saw a lobster and said, "You know what? I'm going to eat that."
Mr_Rose is offline   #3 Reply With Quote
UltraPrime
Senior Member
Volunteer Data File Author
 
Join Date: Oct 2008
Location: Bristol, UK
Posts: 483
Send a message via MSN to UltraPrime

Old March 7th, 2011, 01:19 PM
Sorry, forgot to check back. Added following line to rule:

@minimum = round(result, 0, 1)
UltraPrime is offline   #4 Reply With Quote
Reply


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 02:25 PM.


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