Add an event handler call where G_LeavingHub is

Remember, just because you request it, that doesn't mean you'll get it.

Moderator: GZDoom Developers

User avatar
Marrub
 
 
Posts: 1196
Joined: Tue Feb 26, 2013 2:48 pm
Preferred Pronouns: No Preference
Operating System Version (Optional): Arch Linux
Graphics Processor: ATI/AMD with Vulkan/Metal Support

Add an event handler call where G_LeavingHub is

Post by Marrub »

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.

Return to “Feature Suggestions [GZDoom]”