• 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

Unit Size Determines Upper Range Attrib?

Decurion

Member
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
 
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
 
Frédéric,

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

Thank you again.

Tim

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
 
Back
Top