MissKerrigan
Active Member
- Reaction score
- 23
Hello there guys,
This is what I did:
- I created a variable of the type integer with an array of 10
- I set the array 10, 20, 30, 40, 50, 60, 70, 80, 90, 100 in the map initialization
- When a player pickes up a treasure he gets a random mineral bonus between 10 to 100
- I used the same variable for the text tag which I created also in the triggers
- I did this with combine text and used the integer
Now here is my problem:
- When I pick up a treasure it shows +30 minerals but I got 50 minerals
- The next treasure shows me +80 minerals but I got only 40
Does anyone what's going on here please?
MissKerrigan
This is what I did:
- I created a variable of the type integer with an array of 10
- I set the array 10, 20, 30, 40, 50, 60, 70, 80, 90, 100 in the map initialization
- When a player pickes up a treasure he gets a random mineral bonus between 10 to 100
- I used the same variable for the text tag which I created also in the triggers
- I did this with combine text and used the integer
Now here is my problem:
- When I pick up a treasure it shows +30 minerals but I got 50 minerals
- The next treasure shows me +80 minerals but I got only 40
Does anyone what's going on here please?
MissKerrigan