Game (functions)/Game Control: Difference between revisions

From PMDOWiki
Imbion (talk | contribs)
No edit summary
Imbion (talk | contribs)
No edit summary
Line 48: Line 48:


* <code>bon</code>: If set to true, turns cutscene mode on. If set to false, turns it off.
* <code>bon</code>: If set to true, turns cutscene mode on. If set to false, turns it off.
== SetupLuaFunctions ==
Setups any extra functionalities for this object written on the lua side.

Revision as of 00:15, 18 January 2026

GAME:GroundSave

Saves the game while in ground mode.


Example


GAME:GroundSave()

GAME:GetModDiff(System.String)

TODO


Arguments

  • uuidStr: None

GAME:RestartToTitle

Leave current map and load up the title screen.


GAME:RestartRogue(RogueEssence.Data.RogueConfig)

Restarts a Roguelocke run based on the configuration


Arguments

  • config: The configuration of the roguelocke run

GAME:CutsceneMode(System.Boolean)

Sets the game in cutscene mode. This prevents characters from taking idle action and hides certain UI.


Arguments

  • bon: If set to true, turns cutscene mode on. If set to false, turns it off.

SetupLuaFunctions

Setups any extra functionalities for this object written on the lua side.