Add an event handler call where G_LeavingHub is
Moderator: GZDoom Developers
-
-
- Posts: 1171
- Joined: Tue Feb 26, 2013 2:48 pm
- Preferred Pronouns: They/Them
- Operating System Version (Optional): Arch Linux
- Graphics Processor: ATI/AMD with Vulkan/Metal Support
Add an event handler call where G_LeavingHub is
As it says on the tin. G_PlayerFinishLevel is scriptified now, which is great, but there's no way to do pre-snapshot/hub change behaviour not tied to the player. The event could be named something like WorldLeaveHub and be passed the same arguments as Player::PlayerFinishLevel through WorldEvent.