I’ve got a lot of systems mashed together in my module so that may play into this, but I’m looking to adjust the player on enter start location. Currently it loads anyone joining to the default Start Location object and I don’t exactly see where that is called in the module events.
I’ve added a “hardcore” system that controls the players respawn location if they die. And that works great if the player dies and respawns. But if the server is restarted, on their next load into the server it places them at the default starting location.
My OnClientEnter event calls scripts x3_mod_def_enter and prc_onenter.
I do not see where in x3_mod_def_enter that it sends joining players to the default start location. So I think I’m overlooking the correct location for that setting.
And the way my respawn system works is by using a set variable on the PC. String is set to ‘afterlife’ and when they choose to respawn they are sent to a afterlife area they cannot escape. But if the server is restarted they are able to get back to the default start location, which is not what I want to happen. If I can have it check for the joining character’s local vars and if that string exists, I would want it to send the character to a specified waypoint tag.