• 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

Remainder to control child unit count

I was wondering if there was a way to use exclusion groops and remainders to control the count of a child unit.
rule I am trying to emulate is:
Unit size is 10 to 30 modles in increments of 10. Exactly half of them must be upgraded to different models. You may have upto 2 of unit A, upto 2 of unit B and the rest myst be Unit C. These limits are irespective of the actual size. So a unit of 10 would can have 2A, 2B and 1C while a unit of 30 can have 2A, 2B and 11C.

If I did it manualy then I could just leave the 3 Units as Effective but this dose not auto fill the compulsery leftovers of the half unit.
 
Wow, this sounds complex. So to summarise:

The unit can be either 10, 20 or 30 models total.

5, 10 or 15 of these must me upgraded in some way. 2 can be unit A, 2 can be unit B, and the other 1-11 must be unit C.

I think the best way to model this would be a three-level method:

Main (parent unit) - 10, 20, 30 models
- sub-unit - Unit C - 5-15 models (size restricted using a SizeLimit script on an option), "effective" flag set
-- unit A, child of unit C, 1-2 models if added, "effective" flag set
-- unit B, child of unit C, 1-2 models if added, "effective" flag set

That way units A and B add their counts to unit C, and the total should hopefully be deducted from the parent.

Hope this helps!
 
Back
Top