New Twinmotion products available for free now

Ultimate Window Police

Hibiikiii - Code Plugins - Jun 24, 2022
7
4.43 out of 5 stars(7 ratings)
  • 86%
  • 0%
  • 0%
  • 0%
  • 14%

Do you know these people who try to get around your quit popup and use such methods as ALT + F4 or even more criminal... closing it in the Taskbar? This will stop these people.

  • Supported Platforms
  • Supported Engine Versions
    4.26 - 4.27, 5.0
  • Download Type
    Engine Plugin
    This product contains a code plugin, complete with pre-built binaries and all its source code that integrates with Unreal Engine, which can be installed to an engine version of your choice then enabled on a per-project basis.

Documentation

Github Source

Buy me a coffee

Windows Demo


The Ultimate Window Police is a small and easy to use plugin, with which you can basically stop the player from closing the game with "ALT + F4", closing it via the Taskbar or pressing the X of the Window.

But you can of course enable / disable this.

Additionally you even get the option to Bind a Event to when the user tries to exit the game (while he is not "allowed to do so").

So you can give him your beautiful designed "Are you sure you want to quit?" Popup.


Please follow this easy step by step configuration to get it up and running!


You can still use the "Quit Game" node from the Engine and with that he can quit (even if it is currently not allowed).

All functions are commented (in C++), if you want to read into it.


Questions or you need help?

Join my Discord

Technical Details

Features:

  •  Easy implementation to stop players from quitting without a proper goodbye
  •  Commented and turned into easy to use Blueprint Functions
  •  Includes an example where you can see how it works

Code Modules:

  •  UltimateWindowPolice (Runtime)

Number of Blueprints: 3

Number of C++ Classes: 2

Network Replicated: No

Supported Development Platforms: Windows / Linux

Supported Target Build Platforms: Windows / Linux

Documentation: UltimateWindowPolice Documentation

Example Project: Example is included in the Plugin Content Folder

Important/Additional Notes:

  • MacOS should work without any problems because we just block the request from reaching it's goal, but I cannot try it myself (due to me not having one).