0 0 0 spawn

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
User avatar
ViPER
General
Posts: 1058
Joined: Fri Jan 14, 2005 5:48 pm
Location: California
Contact:

0 0 0 spawn

Post by ViPER »

I have a script for Druckkammern that has a lot of spawn switching going on with about 60 scripted tdm spawns. every once in a while player will spawn at origin (0 0 0). It is not a spawn i added - i dont even think it is a dm spawn or player start since its up in the sky.

Since i didn't remove the maps original spawns i dont see why it would force player to spawn at (0 0 0)?

any ideas ? I can post the script - but its veeeery loooong.

for now im going to spawn a hidden box at (0 0 0) to block it. see what happens - though i would like to know why its doing it.
Bjarne BZR
Site Admin
Posts: 3298
Joined: Wed Feb 05, 2003 2:04 pm
Location: Sweden
Contact:

Post by Bjarne BZR »

I suspect that your extensive spawn switching sometimes leaves no spawns active at all. If this happens, a player will be spawned at (0 0 0).
Admin .MAP Forums
Image
Head above heels.
User avatar
ViPER
General
Posts: 1058
Joined: Fri Jan 14, 2005 5:48 pm
Location: California
Contact:

Post by ViPER »

yea, i thought something like that but i still dont understand it because the map has 8 spawns per team that remain unswitched all the time?

well, the solid object block at (0 0 0) seems to work.
Rindog
Corporal
Posts: 29
Joined: Wed Sep 24, 2003 6:34 pm

Post by Rindog »

I think if you spawn something at a coordinate that don't exist, it will put it at (0,0,0). Maybe that's what is happening.
User avatar
ViPER
General
Posts: 1058
Joined: Fri Jan 14, 2005 5:48 pm
Location: California
Contact:

Post by ViPER »

Ill check that thanks, that makes sense. arghh to find the missing (-)
Post Reply