I'm trying to store the last generated random integer in a variable to I can use that variable to show up as floating text for the minerals you get when a unit is killed.
MinMax and MinMin are variables which get +5 each wave
This is what I have atm but how do I store the random integer?
or is there an easier way to do this?
EDIT::::::::::::
I'm pretty sure there is a way easier/better way of displaying minerals for this but I can't for the life of me figure out what that is. This campaign floating text is ugly when lots of units die at once.
You may want to learn about variables. You should be setting one to your random integer and then modifing the player/display based on the variable (you'll also likely need to use a convert function). If you want to keep track of the integer for a while you could always store it as a custom value. Text tags btw are basically the same as floating text but with many more options to customize them althought it would be best to run in then in there own custom definition.
I'm trying to store the last generated random integer in a variable to I can use that variable to show up as floating text for the minerals you get when a unit is killed.
MinMax and MinMin are variables which get +5 each wave
This is what I have atm but how do I store the random integer?
or is there an easier way to do this?
EDIT::::::::::::
I'm pretty sure there is a way easier/better way of displaying minerals for this but I can't for the life of me figure out what that is. This campaign floating text is ugly when lots of units die at once.
@Ownag3666: Go
You may want to learn about variables. You should be setting one to your random integer and then modifing the player/display based on the variable (you'll also likely need to use a convert function). If you want to keep track of the integer for a while you could always store it as a custom value. Text tags btw are basically the same as floating text but with many more options to customize them althought it would be best to run in then in there own custom definition.
I recommend you checkout some tutorials on triggers. But basically what you wanna do is:
Oh wow I have no idea how I missed that.
Thanks.