Guest
Posts: n/a
|
I have a unit that is 6-12 models
May take leader (child unit) (coun) leader may take child unit (1-2 models) that do not count towards the unit max. Unit may take a transport that holds 12 models /including/ the 1-2 models not counted towards the unit total. I used usiz:max=12-eff for the transport I have coun on the leader. If I put coun on the leaders child unit I get an armybuilder error. How do I limit the tranport to 12 models? Thanks, Shawn ------------------------ Yahoo! Groups Sponsor ---------------------~--> FREE COLLEGE MONEY CLICK HERE to search 600,000 scholarships! http://us.click.yahoo.com/ujOgTC/4m7...SFAA/IMSolB/TM ---------------------------------------------------------------------~-> |
#1 |
Guest
Posts: n/a
|
I managed to figure this one out.
recap: unit of 6-12, child unit may add additional child unit of 1-2models. I tried to use usiz to limit a transport to 12 models, but couldn't because I couldn't use coun on the additional child unit. Solution: transport (usta:alpha<=12) hidden option 1 (prnt:beta+(#)-base) hidden option 2 (base:alpha+(#)) hidden option 3 (prnt:alpha+(#+beta)-base) (Lowest priority) I gave hidden option 1 to the additional child unit I gave hidden option 2 to the parent unit I gave hidden option 3 to the child unit This made the parent stat alpha = # of models. The additional child unit increased the childs stat beta + # of models. The child unit increased the parent unit stat alpha by + beta and # of models. It was important to place hidden option 3 as low priority, otherwise it would add to the parent before the additional child added to the child unit. Question: Could I have done this easier? It works, so I don't mind and the user will never know it is happening. Thanks, Shawn ------------------------ Yahoo! Groups Sponsor ---------------------~--> FREE COLLEGE MONEY CLICK HERE to search 600,000 scholarships! http://us.click.yahoo.com/Pv4pGD/4m7...SFAA/IMSolB/TM ---------------------------------------------------------------------~-> |
#2 |
Guest
Posts: n/a
|
At 20:54 30/09/2001 -0700, you wrote:
>I have a unit that is 6-12 models >May take leader (child unit) (coun) >leader may take child unit (1-2 models) that do not count towards the unit >max. >Unit may take a transport that holds 12 models /including/ the 1-2 models >not counted towards the unit total. > >I used usiz:max=12-eff for the transport >I have coun on the leader. >If I put coun on the leaders child unit I get an armybuilder error. > >How do I limit the tranport to 12 models? I have a convoluted way that works fairly well for the 40k files... is this to do with the Tau? If so, it's simple to add it. Simple description: Give the unit that can take the transport a stat called 'ttotl'. When the transport is taken, have it use 'prnt' to add it's number of transport models to that stat. Use lcmp to make sure the 'ttotl' stat is never lower than zero. Then all you have to do is make every unit subtract it's unit size from the ttotl stat. -- Colen 'Skrillboy' McAlister, demandred@skrill.org http://www.skrill.org/, http://www.incompetence-central.co.uk/ 1 = 2, for large values of 1. ------------------------ Yahoo! Groups Sponsor ---------------------~--> FREE COLLEGE MONEY CLICK HERE to search 600,000 scholarships! http://us.click.yahoo.com/Pv4pGD/4m7...SFAA/IMSolB/TM ---------------------------------------------------------------------~-> |
#3 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 8,232
|
If I understand correctly, the effective unit size does NOT include the 1-2
models beneath the leader, but those models DO count towards the limit for the transport. If that's the case, then you will need to use a hidden stat to total up the models that apply towards the transport limit. You also need the "usta" attribute on the transport option to impose the proper limit. Hope this helps, Rob At 08:54 PM 9/30/2001 -0700, you wrote: >I have a unit that is 6-12 models >May take leader (child unit) (coun) >leader may take child unit (1-2 models) that do not count towards the unit >max. >Unit may take a transport that holds 12 models /including/ the 1-2 models >not counted towards the unit total. > >I used usiz:max=12-eff for the transport >I have coun on the leader. >If I put coun on the leaders child unit I get an armybuilder error. > >How do I limit the tranport to 12 models? > >Thanks, >Shawn --------------------------------------------------------------------------- Rob Bowes (rob@wolflair.com) (650) 726-9689 Lone Wolf Development www.wolflair.com |
#4 |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
"coun" local attribute problem | voidhammer at yahoo.com | Army Builder | 2 | November 1st, 2000 12:02 PM |