Page MenuHomeFeedback Tracker

Game ending event handler
New, NormalPublic

Description

Currently there is no good way to detect if mission ends. By ending I mean player first hosts a mission and then clicks "save & exit" to end the game and returns to lobby. It would be useful to have new event handler executed so that game ending code can be called. For example the mission could save something to database before ending

The new MissionEventHandler could be called "onGameEnding" or whatever is suitable

The event should work in SP/MP/Dedicated server

Details

Severity
Feature
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Category
Feature Request
Additional Information

"MPEnded" event wont trigger on locally hosted mission
"Ended" event only triggers when endMission is used

PlayerDisconnected which triggers for server also only works in dedicated server

Event Timeline

gc8 created this task.Wed, Jan 29, 12:16 PM
gc8 edited Additional Information. (Show Details)
gc8 edited Additional Information. (Show Details)Wed, Jan 29, 12:29 PM