Add 'text tag' +1 is this possible?

MissKerrigan

Active Member
Reaction score
23
Hello,

I got 50 upgrades in a building which increase the income by 1
Now when the timer expires players see their income by a text tag

I figured out by an integer to give the players the right minerals
But I also want to create a variable which shows the right number of income

Is this possible via a variable of the type 'text tag'?

MissKerrigan
 

X-maul

AKA: Demtrod
Reaction score
201
theres a function called "Conversion" which allows you to convert for instance an integer into a string, you simply select "Convert Integer to String" and select your integer when you set the text shown :)
 

MissKerrigan

Active Member
Reaction score
23
I changed my mind about the upgrades ok here is my table:

Level Cost Income

Level 1 $5 + 1 ( 11)
Level 2 $10 + 1 ( 12)
Level 3 $15 + 1 ( 13)
Level 4 $20 + 1 ( 14)
Level 5 $25 + 1 ( 15)
Level 6 $30 + 1 ( 16)
Level 7 $35 + 1 ( 17)
Level 8 $40 + 1 ( 18)
Level 9 $45 + 1 ( 19)
Level 10 $100 + 1 ( 20)
Level 11 $125 + 2 ( 22)
Level 12 $150 + 2 ( 24)
Level 13 $175 + 2 ( 26)
Level 14 $200 + 2 ( 28)
Level 15 $225 + 2 ( 30)
Level 16 $250 + 2 ( 32)
Level 17 $275 + 2 ( 34)
Level 18 $300 + 2 ( 36)
Level 19 $325 + 2 ( 38)
Level 20 $350 + 2 ( 40)
Level 21 $400 + 3 ( 43)
Level 22 $450 + 3 ( 46)
Level 23 $500 + 3 ( 49)
Level 24 $550 + 3 ( 52)
Level 25 $600 + 3 ( 55)
Level 26 $650 + 3 ( 58)
Level 27 $700 + 3 ( 61)
Level 28 $750 + 3 ( 64)
Level 29 $800 + 3 ( 67)
Level 30 $850 + 3 ( 70)
Level 31 $1000 + 4 ( 74)
Level 32 $1100 + 4 ( 78)
Level 33 $1200 + 4 ( 82)
Level 34 $1300 + 4 ( 86)
Level 35 $1400 + 4 ( 90)
Level 36 $1500 + 4 ( 94)
Level 37 $1600 + 4 ( 98)
Level 38 $1700 + 4 (102)
Level 39 $1800 + 4 (106)
Level 40 $2000 + 4 (110)
Level 41 $2250 + 5 (115)
Level 42 $2500 + 5 (120)
Level 43 $2750 + 5 (125)
Level 44 $3000 + 5 (130)
Level 45 $3250 + 5 (135)
Level 46 $3500 + 5 (140)
Level 47 $3750 + 5 (145)
Level 48 $4000 + 5 (150)
Level 49 $4500 +25 (175)
Level 50 $5000 +25 (200)

I need to know which variable I can use to increase the income number + text tags, I don't really want to CREATE 250 TRIGGER! haha
 

X-maul

AKA: Demtrod
Reaction score
201
1st
You have to use the edit function, you have to wait 24 hours before double posting.
2nd
Do you want a trigger saying:
"Your income was increased by [INTEGER] Minerals."
(You have to spend more time on explaining what you want)
In that case, here is a function when using text tags, that is named "Combine texts" which allows you to do exactly that. You can have multiple strings (and also convert an integer to a string) by using this.
It would end up looking like this:
"Your income was increased by +[INTEGER]+ Minerals." (remember the spaces between the variable and the text (as there wouldnt be a space othervise))
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top