Language

Game.setCustomGameMode


Game.setCustomGameMode(bool custom)

Description

If true is passed, the player is desactivated, allowing you to create a custom game mode from scratch. Note that the retry key won't work anymore in your level after this function is called.
Calling this function with false will re-activate the player and the retry key.

Parameters

custom
See description.