Option Cost Script Help
Ok, I'm trying to make an option that cuts the cost of a unit in half. Its available to many different units, all of which cost a different amount.
Is the Options Cost Script the best place to do this? if so, can someone tell me if this is close: var half as number half = entity.cost[base] / 2 @single = half |
nevermind. looks like i got it. i had an eval script that seemed to be making this not work. i guess you can't have both? i dunno, but i got rid of it and its working now... here's the exact script
var half as number half = entity.cost[base] / 2 @single = -half |
All times are GMT -8. The time now is 08:06 PM. |
Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.