Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help auto spawn players who arent alive
#1
I searched, didnt find much, I just want to spawn people who die.. doesnt matter where, normal spawn is fine..
Reply

#2
nm about this i set life limit higher, im an idiot :X
Reply

#3
Mistakes makes you learn things ^^
Reply

#4
So no prob anymore?
Reply

#5
nah i dont know, it still doesnt let people who join late spawn even though i set

level.ingraceperiod = true;


in a loop, is graceperiod only for team changing? is there another command for allowing late joiners to spawn no matter how late it is?
Reply

#6
Hmm, myabe a Dvar. sry dunno
Reply

#7
Sad there is a grace period dvar but i think its limited to 1 minute?
Reply

#8
I found this in the 'sd' gsc file

PHP Code:
spawnPoints maps\mp\gametypes\_spawnlogic::getSpawnpointArrayspawnPointName );
assertspawnPoints.size );
spawnpoint maps\mp\gametypes\_spawnlogic::getSpawnpoint_RandomspawnPoints );
self spawnspawnpoint.originspawnpoint.angles"sd" ); 

Try putting this into a function and call it when the player connects, after they've chosen a class or something
Reply

#9
Code:
OnPlayerConnect()
{
    while(1)
    {
        level waittill("connected", player);
        player thread waittilldeath();
    }
}
WaittillDeath()
{
    while(1)
    {
        self waittill("death");
        self Respawn();
    }
}
Respawn()
{
    self thread maps\mp\gametypes\_globallogic::closeMenus();
    self thread maps\mp\gametypes\_globallogic::spawnPlayer();
}
Like this?
Reply

#10
sure, if that spawns the player no matter the circumstances, thats what i want..
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  Help How to disable auto balance? .sepultura. 3 4,312 10-07-2013, 19:44
Last Post: Nekochan
  Help choose 2 random players?(1 each team) 26hz 6 4,648 09-12-2013, 17:32
Last Post: Yamato
  Help auto command Dynasty 6 4,358 08-26-2013, 16:05
Last Post: hillbilly
Exclamation [Request] Random Weapon At Spawn Scripts18 3 4,737 07-27-2013, 23:53
Last Post: DidUknowiPwn
  Help Spawn Message Playing on Respawn? Killjoy 7 5,232 07-11-2013, 14:53
Last Post: Killjoy
  [Release] Spawn Polygons and Pyramids Yamato 6 4,611 06-20-2013, 12:30
Last Post: Yamato
  Question on how to "Spawn" a flying rocket as a player? akillj 8 5,541 06-04-2013, 01:54
Last Post: rotceh_dnih
  [Release] Rotceh Steam Auto Messager "Rsam" rotceh_dnih 22 23,696 05-07-2013, 01:02
Last Post: rotceh_dnih
  Help pickup mod + spawn fx m4gicaL 1 2,668 03-07-2013, 17:52
Last Post: tadej
  Help No more free spawn influencers! JustDoingThisShit 0 5,087 02-03-2013, 20:21
Last Post: JustDoingThisShit

Forum Jump:


Users browsing this thread:
2 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.