• 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

Percentage cost

UltraPrime

Well-known member
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.
 
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:
Back
Top