Lone Wolf Development Forums  

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

Notices

Reply
 
Thread Tools Display Modes
Decurion
Junior Member
 
Join Date: Jun 2010
Location: Los Angeles, California, USA
Posts: 12

Old August 25th, 2011, 03:25 PM
I have a unit that I need to allow 50% to take a specific option (e.g. 50% of the unit may take bows).

I found some old posts from 2003, but they were using AB 2 (I think).

Any suggestions on how to do this?

Tim
Decurion is offline   #1 Reply With Quote
Garfunkel
Senior Member
Volunteer Data File Author
 
Join Date: May 2005
Location: Grenoble, France
Posts: 167

Old August 29th, 2011, 01:10 AM
Hello,

1. Create a unitstat with is set to #/2 by script.
2. Create an exclusion group limited by a @unitstat.
3. Each option you need to be limited uses 1 on this exclusion group

Or

1. Create an exclusion group limited by #
2. Each option uses 2 on this exclusion group.

Note the second solution is easyer to implement, but it round down your division by 2.

If you need details on the implementation, just ask

Hope that help.

Frédéric
Garfunkel is offline   #2 Reply With Quote
Decurion
Junior Member
 
Join Date: Jun 2010
Location: Los Angeles, California, USA
Posts: 12

Old August 31st, 2011, 10:59 AM
Frédéric,

Thanks much! I used the second option and it works great.

Thank you again.

Tim

Quote:
Originally Posted by Garfunkel View Post
Hello,

1. Create a unitstat with is set to #/2 by script.
2. Create an exclusion group limited by a @unitstat.
3. Each option you need to be limited uses 1 on this exclusion group

Or

1. Create an exclusion group limited by #
2. Each option uses 2 on this exclusion group.

Note the second solution is easyer to implement, but it round down your division by 2.

If you need details on the implementation, just ask

Hope that help.

Frédéric
Decurion is offline   #3 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 06:29 AM.


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