View Single Post
harkan
Senior Member
Volunteer Data File Author
 
Join Date: Mar 2005
Posts: 345

Old May 31st, 2005, 12:22 PM
if you create a stat for the parent unit and have a postscript that calculates it based upon the ratio required rounded down, i.e. fanatic. Kepp the name short enough so you can refer to it in a runtime call.

Create an exclusion based on 0 to @fanatic. Create the option based on a range of 0 to max number of fanatics within the mob, i.e. if max size is 20 then max range would be 4. Apply the exclusion to the range based option and add a live statement so that if val:runtime.fanatic? > 0 it is live.

Ideally what should then happen is that once the first 5 zealots are add the option then displays with a range limited to 1 due to the exclusion referencing the stat, as more models are added then the exclusion increases.

Chosen use the principle for 1 weapon swap for every 3 models and seems to work OK but would be nice to have an easier solution?
harkan is offline   #3 Reply With Quote