Junior Member
Join Date: Dec 2005
Posts: 16
|
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 |
#1 |
Junior Member
Join Date: Dec 2005
Posts: 16
|
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 |
#2 |
|
|