see im not a good scripter so i kinda need a script for my game if you could help me. im trying to make an online FPS game and i want to make it so that when the level starts that everyone that enters is spawned in a diffrent spot.
asked May 17 '10 at 01:10 AM
I recommend that you have a gameobject in your scene that you call e.g. "Spawnpoints". Then you add several game objects under that game object, one for each spawn point. Then, when you player is to spawn, you find a random number to pick one of the spawn points. Be sure that this is done only on one of the computers (preferably the server) so that the player do not show up on different places on each computer. ;-)
answered May 18 '10 at 06:05 PM