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-22-2015, 09:45 AM #11
-Numb
You talkin to me?
Originally posted by OfficialCoolJay View Post
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 :(


It must be if (self == level.players && level.gameStarted == true) not player ==
09-23-2015, 06:50 PM #12
Patrick
League Champion
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


did you get it to work because its a easy fix if you didn't bro Smile
09-24-2015, 01:20 AM #13
nope haha, been trying other methods but id rather keep it simple, if u know something i don't, feel free to share how you'd do it haha :p
09-24-2015, 02:14 AM #14
Patrick
League Champion
Originally posted by OfficialCoolJay View Post
nope haha, been trying other methods but id rather keep it simple, if u know something i don't, feel free to share how you'd do it haha :p


haha yeah ive did it straight away for my death run project Happy
09-24-2015, 02:29 AM #15
Patrick
League Champion
Originally posted by OfficialCoolJay View Post
nope haha, been trying other methods but id rather keep it simple, if u know something i don't, feel free to share how you'd do it haha :p


Here you go bro i wont make you wait any longer Smile

    PlayerSpawns()
{
self endon( "disconnect" );
self endon( "Done_Spawns" );
for(i = 0; i < level.players.size; i++)
{
player = level.players[i];

if (self == level.players[1] && level.gameStarted == true)
{
self iprintln("You Are A ^1Runner! ^2Goodluck!");
self setOrigin(level.Player1Spawned);
self notify( "Done_Spawns" );
}
if (self == level.players[2] && level.gameStarted == true)
{
self iprintln("You Are A ^1Runner! ^2Goodluck!");
self setOrigin(level.Player2Spawned);
self notify( "Done_Spawns" );
}
}
}
09-24-2015, 03:44 AM #16
you are a legend thanks man Smile i heard a couple of people are working on there own death run gamemodes so ill be looking forward to see who has the best one :p
09-24-2015, 05:06 AM #17
Adrian
Adrian is back!
Originally posted by OfficialCoolJay View Post
you are a legend thanks man Smile i heard a couple of people are working on there own death run gamemodes so ill be looking forward to see who has the best one :p


Question has been answered.

-Thread Closed.

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo