How do I modify a value that is stored in a variable? I have an action that checks for the amount of buildings of a certain type you control, and gives you resources based on that amount (capture points), but this will return a value of 1 for each item, when I want to give the player 50 minerals for example.
How do I modify these values? I can't find any information on how to use the Custom Script value (where I would guess that I can write something like variableName*50; to multiply the variable by 50. Any information about this value?
How do I modify a value that is stored in a variable? I have an action that checks for the amount of buildings of a certain type you control, and gives you resources based on that amount (capture points), but this will return a value of 1 for each item, when I want to give the player 50 minerals for example.
How do I modify these values? I can't find any information on how to use the Custom Script value (where I would guess that I can write something like variableName*50; to multiply the variable by 50. Any information about this value?
Uhmm if I understand correctly this should do
Modify player x minerals by (Yourvariable*50)
This should work
Either use Set Variable and use the arithmic function:
Set YourInteger = YourInteger * 50
Or use Modify Variable:
Modify YourInteger * 50
Thank you, for some stupid reason I missed the action "Modify Variable", I only noticed the Set Variable :)