Game (functions)/Game Control: Difference between revisions

From PMDOWiki
Imbion (talk | contribs)
Created page with "== GAME:GroundSave == Saves the game while in ground mode. === Example === <pre> GAME:GroundSave() </pre> == GAME:GetModDiff(System.String) == TODO === Arguments === * <code>uuidStr</code>: 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 === * <code>config</code>: The configuration of the roguelock..."
 
Imbion (talk | contribs)
No edit summary
 
(3 intermediate revisions by the same user not shown)
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 ==
 


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


=== Arguments ===


Restarts a Roguelocke run based on the configuration
* <code>config</code>: 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 ===
=== Arguments ===


* <code>config</code>: The configuration of the roguelocke run
* <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.

Latest revision as of 00:36, 18 January 2026

GroundSave

Saves the game while in ground mode.

Example


GroundSave()

GetModDiff

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.