researching gold mine

smiley1337

New Member
Reaction score
1
hello,i have a problem on my td map,i made my goldmine a research that should increase the amount of gold received by 50 so how do i do that? the research has 5 levels,and when i use the research it should increase variable redg by 50
also i if i want to use the variable in text message then the variable has to be string? i mean can it be a string variable when i use it as gold amount given to player? tnx...if u dont understand me ill explain more
 
1

131ackout

Guest
"Redg?"

Also, make a trigger that when a unit finishes research the ability

then increase by setting its variable? I'm not sure, I never have done this before.
 

Dregonx

TH.net Regular
Reaction score
21
I'm pretty sure theres a way to use the variable in the text without it being a text variable, you just need to do a conversion in the text to integer, and display it from there.

If you don't fully understand I'll pull up my trigger editor and put it in a code for you.
 

smiley1337

New Member
Reaction score
1
redg is the name of my variable

and dregonx i understand what u mean but i dont know how to do that:) pls give me the code:)

EDIT!: i got everything working ! tnx for trying to help me:)
 
General chit-chat
Help Users

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top