Hi,
first of all here is what I try to solve:
- "build_res_th" is a building which generates a resource like gold or something
- it has an instance var "res_count" which counts up every second
- when it reaches 3 or more, then there should spawn a button "btn_ok" at "build_res_th" to collect the gold.
Here it works only for the first instance:
Further instances of "build_res_th" spawn a "btn_ok" very tick and not only once. Why this is not working?
Or do you have another idea to solve this?
Thanks for your help!
Alex