Hi guys, I wanted to make a resource that regenerates itself, sort of like how a unit with energy can regain energy over time...The problem is, the energy regeneration is 3 values dedicated to "energy" only, there isn't such a thing for other resources.
Would there be a way to code such a thing?
I've been doing some tests on high yield minerals, but so far, I can only get those to stay there even if they are depleted.
I want to create a resource that can regenerate itself over time, like Tiberium in C&C3.






Reply With Quote
