Posts
941
Respect
136Add +1
Forum Rank
The Decider
Primary Group
Member
Login Issues
Forgot password?Activate Issues
Account activation email not received? Wrong account activation email used?Other Problems?
Contact Support - Help Center Get help on the UGX Discord. Join it now!


![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
![]() | Has released one or more maps to the UGX-Mods community. |
Didn't it depend on the player's number where he would spawn?
As far as I remember, they just made it like player 1: left, player2: right (x2).

i got no idea o.O lol
but a want like:
one game:
players x4 ll here none
next game
here none ll players x4
i got no idea how the spawn players function works so i dont know how to change it :L
/*------------------------------------
SPAWN POINT OVERRIDE
- special asylum spawning hotness
------------------------------------*/
spawn_point_override()
{
flag_wait( "all_players_connected" );
players = get_players();
//spawn points are split, so grab them both seperately
north_structs = getstructarray("north_spawn","script_noteworthy");
south_structs = getstructarray("south_spawn","script_noteworthy");
side1 = north_structs;
side2 = south_structs;
if(randomint(100)>50)
{
side1 = south_structs;
side2 = north_structs;
}
//spawn players on a specific side, but randomize it up a bit
for( i = 0; i < players.size; i++ )
{
//track zombies for sounds
players[i] thread player_zombie_awareness();
players[i] thread player_killstreak_timer();
if(i<2)
{
players[i] setorigin( side1[i].origin );
players[i] setplayerangles( side1[i].angles );
players[i].respawn_point = side1[i];
players[i].spawn_side = side1[i].script_noteworthy;
}
else
{
players[i] setorigin( side2[i].origin);
players[i] setplayerangles( side2[i].angles);
players[i].respawn_point = side2[i];
players[i].spawn_side = side2[i].script_noteworthy;
}
}
}![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
![]() | Has released one or more maps to the UGX-Mods community. |