View Single Post
Colen
Senior Member
Lone Wolf Staff
 
Join Date: Dec 2008
Posts: 4,690

Old May 12th, 2003, 09:06 PM
At 12:08 AM 5/13/2003 +0000, you wrote:
>Hiya,
>
>how would I model the following cost equation?
>
>Unit cost = (# of models * 7) - 35
>with a minimum cost of 0.
>
>That means the first 5 models are free and subsequent ones are 7
>points each?

Set the unit cost to be 0. Then assign it an option using 'auto', with the
following attributes:

hide
usiz:min=6
cost:expr=#*7-35
cost:single

Thus, the option will be hidden, will only become active when there are at
least 6 models in the unit, will have a cost of the unit size, multiplied
by 7, minus 35, and that cost will only be applied once to the units total
cost (rather than once per model, which is not what you want).

Hope this helps,


--
Colen McAlister (colen@wolflair.com)
Lone Wolf Development www.wolflair.com


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Rent DVDs Online - Over 14,500 titles.
No Late Fees & Free Shipping.
Try Netflix for FREE!
http://us.click.yahoo.com/YoVfrB/XP....tFAA/IMSolB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, email

armybuilder-unsubscribe@yahoogroups.com

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
Colen is offline   #3 Reply With Quote