[Tutorial] How To Create Random Spawns!
#3

Quote:
Originally Posted by Gforcez
View Post
Why not store the positions and looking angles in an array and set spawns based on the array index. It's easier to add positions because you don't need a switch/case, so you don't have to repeat the same code over and over to add more spawn positions.
Thanks for the response, this tutorial was for the beginners as i said in the above introduction (please read that).

Code:
There are alot of beginners who are unable to understand the concept of multi-dimensional arrays so in this tutorial i will show them how to make a random spawn system and similar stuff without using the arrays. Since the array method is explained in the wiki, i'll be explaining the second one.
Reply


Messages In This Thread
How To Create Random Spawns! - by YouShootIDodge - 23.07.2019, 18:39
Re: How To Create Random Spawns! - by Gforcez - 24.07.2019, 13:45
Re: How To Create Random Spawns! - by YouShootIDodge - 24.07.2019, 14:06
Re: How To Create Random Spawns! - by Gforcez - 24.07.2019, 14:23

Forum Jump:


Users browsing this thread: 1 Guest(s)