Mining in RTS
Hi. I have some problems with creating a delay between gold mining / gold discharge and moving creeps. What I mean: 1. Creep moving to mine. 2. While creep beside mine - starting mining process (and continues some time). 3. If max gold on creep is over - creep move back to base. 4. While creep beside base - starting discharging process (and continues some time). 5. If min gold on creep is over - creep move back to mine.
And, how to implement this?
Comment
Your answer
Follow this Question
Related Questions
I would like to add a delay to activating a camera 2 Answers
Suspension of Physics 1 Answer
how to change the animation lengh by script? 0 Answers
Time.time doesn't show up? 2 Answers
Oncollisionenter and time,OnCollisonEnter and time. 0 Answers