Post: free for all player spawns
09-15-2015, 11:22 AM #1
(adsbygoogle = window.adsbygoogle || []).push({}); haha i know im getting abit anoying now with all the questions, but this is something crucial for my new gamemode.

my gamemode is for free for all and i want it so i can set every individual players spawn location

i want it so when every individual player spawns in they don't spawn inside the map, they spawn outside the map on startup

like setting a custom spawn location for every individual players all from 1 -18 players

is this possible?

i have seen people set custom spawns for each team on teamdeathmatch gamemodes but never free for all
(adsbygoogle = window.adsbygoogle || []).push({});
09-15-2015, 11:24 AM #2
Humble
Little One
Hmmm i'll have a look! Enzo
09-15-2015, 12:01 PM #3
itsSorrow
In my man cave
Originally posted by OfficialCoolJay View Post
haha i know im getting abit anoying now with all the questions, but this is something crucial for my new gamemode.

my gamemode is for free for all and i want it so i can set every individual players spawn location

i want it so when every individual player spawns in they don't spawn inside the map, they spawn outside the map on startup

like setting a custom spawn location for every individual players all from 1 -18 players

is this possible?

i have seen people set custom spawns for each team on teamdeathmatch gamemodes but never free for all


yes but you will have to get the cords & it is kinda a pain in the ass just getting the perfect spot, perfect angle, perfect anything but yes you can
09-15-2015, 02:00 PM #4
-Numb
You talkin to me?
Originally posted by OfficialCoolJay View Post
haha i know im getting abit anoying now with all the questions, but this is something crucial for my new gamemode.

my gamemode is for free for all and i want it so i can set every individual players spawn location

i want it so when every individual player spawns in they don't spawn inside the map, they spawn outside the map on startup

like setting a custom spawn location for every individual players all from 1 -18 players

is this possible?

i have seen people set custom spawns for each team on teamdeathmatch gamemodes but never free for all


Just put self setOrigin(coords); on the onPlayerSpawned
09-15-2015, 02:25 PM #5
Yes it is hmu on skype it's pretty simple
09-15-2015, 11:04 PM #6
cordinates are no big deal for me, spent enough hours making maps and spawning object to master how to do it now

and i will try the SetOrigin(coords)
09-15-2015, 11:21 PM #7
having SetOrigin(coords) in PlayerSpawned() would just set the spawn for every player to be the same spawn.
i want it so i can set every individual players spawn like this

Player1.SetOrigin(X,Y,Z)
Player2.SetOrigin(X,Y,Z)
Player3.SetOrigin(X,Y,Z)
Player4.SetOrigin(X,Y,Z)
Player5.SetOrigin(X,Y,Z)
All the way to player 18
09-21-2015, 11:32 AM #8
nobody knows how to do this? it would help alot if i could do this
09-21-2015, 04:44 PM #9
-Numb
You talkin to me?
Originally posted by OfficialCoolJay View Post
nobody knows how to do this? it would help alot if i could do this


Not sure if it works but I think I remember that level.players can be used for this. You could give it a try Winky Winky

level.players[1] setOrigin(client 1 coords);
level.players[2] setOrigin(client 2 coords);
level.players[3] setOrigin(client 3 coords);
09-22-2015, 05:26 AM #10
this is what i got so far

    PlayerSpawns()
{
for(i = 0; i < level.players.size; i++)
{
player = level.players[i];

if (player == level.players[1] && level.gameStarted == true)
{
self iprintln("^7 You Are Player ^21");
self setOrigin(level.player1spawndrone);
}
if (player == level.players[2] && level.gameStarted == true)
{
self iprintln("^7 You Are Player ^22");
self setOrigin(level.player2spawndrone);
}
}
}


And in init()

    level.player1spawndrone = (100,0,0);
level.player2spawndrone = (200,0,0);


I Have this for all 18 players but only showing an example of two players here to save space.
This how ever isnt working, when i spawn in it teleports me to all 1-18 player locations and
printsin you are player1-18 really fast. i have no idea how to do this :(

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo