Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Army Builder Forums > Army Builder
Register FAQ Community Today's Posts Search

Notices

Reply
 
Thread Tools Display Modes
UltraPrime
Senior Member
Volunteer Data File Author
 
Join Date: Oct 2008
Location: Bristol, UK
Posts: 483
Send a message via MSN to UltraPrime

Old December 12th, 2011, 12:30 AM
Is it possible for a unit cost to be a percentage of the selected roster size? I need to create a unit that costs 50% of total roster.

If you can keep your head while all about you are loosing their's, then you have probably completely misunderstood the situation.

WFB Armies: High Elves (4,500), Orcs & Goblins (6,000) and Daemons of Chaos (6,000)
40K Armies: Ultramarines (6,500), Blood Angels (7,000), Dark Angels (4,000), Imperial Guard (3,500), Orks (4,500), Tyranids (4,000), Dark Eldar (2,500) and Tau Empire (2,500)
UltraPrime is offline   #1 Reply With Quote
Garfunkel
Senior Member
Volunteer Data File Author
 
Join Date: May 2005
Location: Grenoble, France
Posts: 167

Old December 12th, 2011, 01:20 AM
Hello,

You can use the following script as prelink script for your unit :
@base = roster.usersize/2

Be carefull if the user didn't set a size for its roster, it will return half a million.

Regards,
Frédéric

Last edited by Garfunkel; December 12th, 2011 at 01:23 AM.
Garfunkel is offline   #2 Reply With Quote
UltraPrime
Senior Member
Volunteer Data File Author
 
Join Date: Oct 2008
Location: Bristol, UK
Posts: 483
Send a message via MSN to UltraPrime

Old December 12th, 2011, 01:47 AM
Worked a charm, thank you.

If you can keep your head while all about you are loosing their's, then you have probably completely misunderstood the situation.

WFB Armies: High Elves (4,500), Orcs & Goblins (6,000) and Daemons of Chaos (6,000)
40K Armies: Ultramarines (6,500), Blood Angels (7,000), Dark Angels (4,000), Imperial Guard (3,500), Orks (4,500), Tyranids (4,000), Dark Eldar (2,500) and Tau Empire (2,500)
UltraPrime is offline   #3 Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 11:42 PM.


Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.