Page 1 of 1

What events are called when a player goes from planet to space platform and vice versa?

Posted: Fri Oct 17, 2025 12:49 am
by Pikachar
As the title says: What events are called when a player goes from planet to space platform and vice versa?
Currently working on a mod that requires moving some entities around with the player and I'd like to make sure that I've got all my bases covered.
Currently got coverage for the teleport event, but want to make sure that there's not something I'm missing.

Re: What events are called when a player goes from planet to space platform and vice versa?

Posted: Fri Oct 17, 2025 2:07 am
by eugenekay
Event Trace is very helpful for this sort of thing.

Doing a quick trip to Orbit I can see:
  • on_rocket_launch_ordered NOTE: The Player can still exit the rocket at this point!
  • on_selected_entity_changed
  • on_gui_closed
  • on_rocket_launched
  • on_player_changed_position (LOTS of these, probably not very useful to track)
  • on_cargo_pod_finished_ascending
  • on_player_changed_surface
  • on_cargo_pod_finished_descending
  • on_player_driving_changed_state
  • on_player_controller_changed
  • on_cargo_pod_delivered_cargo
  • on_selected_entity_changed
Good Luck!