Add any player riding a rocket to the on_rocket_launch_ordered and on_rocket_launched events
Posted: Sat May 18, 2019 1:11 am
When the on_rocket_launch_ordered and on_rocket_launched events trigger could any player who is riding the rocket be included as an attribute.
The players are known within the game code to be passengers of the rocket.
Ideally the rocket entity get_passenger() and player entity vehicle() functions would also handle this state, but this looks to be far more work and isn't helpful in my use case.
The intended use is to script events for when the player is leaving and has left the planet via a rocket, i.e. teleport them to another surface.
The players are known within the game code to be passengers of the rocket.
Ideally the rocket entity get_passenger() and player entity vehicle() functions would also handle this state, but this looks to be far more work and isn't helpful in my use case.
The intended use is to script events for when the player is leaving and has left the planet via a rocket, i.e. teleport them to another surface.