Hi, I need to make a Building queue for my soldiers to spawn. You know, you come to barracks you click “E” button several times and it will spawn soldier after soldier from queue with idk, 5 sec between.
I use JavaScript.
Thanks
Hi, I need to make a Building queue for my soldiers to spawn. You know, you come to barracks you click “E” button several times and it will spawn soldier after soldier from queue with idk, 5 sec between.
I use JavaScript.
Thanks
My question is how can I write a script that can do the queue. The unit queue you see and all RTS games.
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:
Edit: Once you’ve tried writing the code yourself, if you have problems, then you can come ask a question and get help.