Game (functions)/Game Control: Difference between revisions
From PMDOWiki
No edit summary |
No edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
== | == GroundSave == | ||
Saves the game while in ground mode. | Saves the game while in ground mode. | ||
=== Example === | === Example === | ||
| Line 9: | Line 7: | ||
<pre> | <pre> | ||
GroundSave() | |||
</pre> | </pre> | ||
== | == GetModDiff == | ||
TODO | TODO | ||
=== Arguments === | === Arguments === | ||
| Line 23: | Line 19: | ||
* <code>uuidStr</code>: None | * <code>uuidStr</code>: None | ||
== | == RestartToTitle == | ||
Leave current map and load up the title screen. | Leave current map and load up the title screen. | ||
== RestartRogue == | |||
== | |||
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 | ||
== | == 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 === | ||
* <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. | |||
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.
