My expectation is that player just gets ejected and placed wherever the cargo-pod position happens to be on that surface.
I was trying this because I recently posted this other one, which I understand the response and its not a problem: viewtopic.php?f=48&t=120296
I'm trying to move a player to a different landing site and don't want to wait for them to land at 0,0.
No problem if this is considered a minor issue too. I just figured I would point it out since it seems like an inconsistency and it would be easier for me to eject and then teleport somewhere else, rather than teleport to a different surface first as a workaround to ejecting while "driving" a cargo-pod.
Thank you for all your hard work! Love the game!
[2.0.X] Setting player.driving = false does NOT eject player from cargo-pod.
Re: [2.0.X] Setting player.driving = false does NOT eject player from cargo-pod.
Thanks for the report. For the next release I've added a new method on LuaControl called set_driving() which will accept a true/false - that functions identically to writing ::driving. However it will also have a 2nd parameter called "force" which defaults to false, when set to true it will force eject the player from any vehicle they're in even if they normally wouldn't be able to leave. Since deleting ::driving would break existing mods they will both exist.
If you want to get ahold of me I'm almost always on Discord.
Re: [2.0.X] Setting player.driving = false does NOT eject player from cargo-pod.
Wonderful, thank you!