Add an event handler call where G_LeavingHub is
Moderator: GZDoom Developers
-
-
- Posts: 1162
- Joined: Tue Feb 26, 2013 2:48 pm
- Discord: agw.systems#7777
- Twitch ID: marrubdaskuleion
- Github ID: marrub--
- Graphics Processor: ATI/AMD with Vulkan 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.