Jump to content
  • 0

Getting new spawns to spawn at a certain coordinate


monkeybrain

Question

If I was say, doing a event and wanted new spawned in players to get teleported to a certain spot,how would I go about doing that?

 

Only for newspawns not players that have relogged/aborted

 

Would I have to modify a spawn selector? Is there a easier way to do it, I only want them to spawn at one spot.

 

Thankyou!

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

Hm, the place is here to check if it's a new character or not:

 

dayz_server pbo / compiles/server_playerSetup.sqf

 

There is a check : if (count _worldspace > 0) then {

...

else {
    /////_randomSpot = true;
    _worldspace = [229,[8246.3184,15485.867,15.544708]]; <-- you would need to place the worldspace coordinates here where a new player should spawn. Uncomment ramdonSpot = true;
};

 

Existing characters go into the if clause...new ones into the else part.

 

The 229 is the height. I've tested it once now and I spawned at the top of the building at this coordinates. So seems that you don't stuck in the ground or fall deep.

 

How you get the coordinates in there fitting to your current event I don't know. That's something you need to figure out.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...