Quantcast
Viewing all articles
Browse latest Browse all 99

Answer by murkantilism

Is there a real question here? Are you just asking for high level advice? UnityAnswers is **not** a place to come and say "Please do all the work for me & write me a script that does X Y Z." My high level advice is: * Create a list or array to keep track of all units in the queue. * Each time the user orders a new unit, insert that unit into the end of the list. * Then have a "training" function or script that pops the first element of the list and has the training timer decrement. * When the training timer expires, produce the unit and pop the next unit from the list. **Edit:** Once you've tried writing the code yourself, **if** you have problems, **then** you can come ask a question and get help.

Viewing all articles
Browse latest Browse all 99

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>