Game (functions)/Game Control: Difference between revisions

From PMDOWiki
Imbion (talk | contribs)
No edit summary
Imbion (talk | contribs)
No edit summary
Line 1: Line 1:
== GAME:GroundSave ==
== GroundSave ==
 


Saves the game while in ground mode.
Saves the game while in ground mode.


=== Example ===
=== Example ===
Line 9: Line 7:
<pre>
<pre>


GAME:GroundSave()
GroundSave()


</pre>
</pre>


== GAME:GetModDiff(System.String) ==
== GetModDiff(System.String) ==
 


TODO
TODO


=== Arguments ===
=== Arguments ===
Line 23: Line 19:
* <code>uuidStr</code>: None
* <code>uuidStr</code>: None


== GAME:RestartToTitle ==
== RestartToTitle ==
 


Leave current map and load up the title screen.
Leave current map and load up the title screen.


 
== RestartRogue ==
== GAME:RestartRogue(RogueEssence.Data.RogueConfig) ==
 


Restarts a Roguelocke run based on the configuration
Restarts a Roguelocke run based on the configuration


=== Arguments ===
=== Arguments ===
Line 39: Line 31:
* <code>config</code>: The configuration of the roguelocke run
* <code>config</code>: The configuration of the roguelocke run


== GAME:CutsceneMode(System.Boolean) ==
== CutsceneMode ==
 


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


=== Arguments ===
=== Arguments ===

Revision as of 00:36, 18 January 2026

GroundSave

Saves the game while in ground mode.

Example


GroundSave()

GetModDiff(System.String)

TODO

Arguments

  • uuidStr: None

RestartToTitle

Leave current map and load up the title screen.

RestartRogue

Restarts a Roguelocke run based on the configuration

Arguments

  • config: The configuration of the roguelocke run

CutsceneMode

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.