[Solved]Spawn points

Posts 1–15 of 17 · Page 1 of 2
[Solved]Spawn points
I need my spawn points in mapedit... How?

Don't tell me to put it in rank.gsc... I know its where I must put it, but I need it to be another place... And again don't ask why!
Told on steam it messes up the TIs, but what and why messes them up?
Have you seen it in a mod or something? Please tell me
i sended u the modd boxin
Yeah, but I need the code for spawn points in mapedit...
i think it's :

Code:
spwanallies()
{
self endon ( "disconnect" )


spwans codes:

}
and than in rank under player spwaned

Code:
is self team ect.

level thread maps\mp\gametypes\_maps_objects::spwanallies();
self thread spwanallies();
Nope doesn't work
code? give the example u did
Quote Originally Posted by TheSaboteur View Post
code? give the example u did
I put this in the mapedit:

Code:
spawn()
{
self endon ( "disconnect" )
                        
                {
                                
                       
	self.randomspawn = randomInt(6);
	if(self.randomspawn == 0) {
	self SetOrigin((-6611,3745,1032)); }
	if(self.randomspawn == 1) {
	self SetOrigin((-6268,3569,1032)); }
	if(self.randomspawn == 2) {
	self SetOrigin((-6216,3332,1032)); }
	if(self.randomspawn == 3) {
	self SetOrigin((-6667,3307,1032)); }
	if(self.randomspawn == 4) {
	self SetOrigin((-7124,3554,1032)); }
	if(self.randomspawn == 5) {
	self SetOrigin((-6184,3550,1032)); }
	}
}

And this in under onplayerspawned:


Code:
if(self.team == "axis")

	 level thread maps\mp\gametypes\_maps_objects::spawn();

	 self thread spawn();
	}
	
}

And I got the syntax error...


BTW I have tested the code over on onplayerspawned So u know...
Of course you get syntax, spawn() is an existing function, you should rename it to spawnD or something.
I'm getting the syntax again

I renamed to spawnsd...
plz..
Code:
if(self.team == "axis")

	 level thread maps\mp\gametypes\_maps_objects::spawn();

	 self thread spawn();
	}
	
}
Isn't that clear? to many }? lol
Quote Originally Posted by [WhA]4FunPlayin View Post
plz..
Code:
if(self.team == "axis")

	 level thread maps\mp\gametypes\_maps_objects::spawn();

	 self thread spawn();
	}
	
}
Isn't that clear? to many }? lol
He also forgot one :P
Code:
if(self.team == "axis")
        {
	 level thread maps\mp\gametypes\_maps_objects::spawn();

	 self thread spawn();
	}
I dont have syntax error cuz of the rank file.... Its the mapedit!

I dont think those commands works..
Posts 1–15 of 17 · Page 1 of 2
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us