9.2 Game object
Description
The Game object represents the RPG_RT.exe and can be used to save/load the game or even quit it.
List of methods/properties
Name | Type | Short description |
Save | Method | Saves the game |
Load | Method | Loads the game |
Quit | Method | Quits the game |
Description
Saves the current game into a file. The file will be stored into the game directory and has the name SaveXX.lsd (XX will be replaced with the slot in two digit format). The scopes of the Destiny.dll won't be saved with this method. If the game can't save the RPG_RT.exe will display an error message and crash. Something more specific can be found at
known bugs.
Syntax
Return value
None
Type
Method
Parameter: Slot
Description
The number of the save slot.
Data type
Dword
Range
0 to 99
Example
At the end the game whould be saved (except the destiny scopes) into the file Save01.lsd.
Description
Loads the current game from a file. The file is stored into the game directory and has the name SaveXX.lsd (XX will be replaced with the slot in two digit format). The scopes of the Destiny.dll won't be loaded with this method. If the game can't be loaded the RPG_RT.exe will show an error message and crash. Something more specific can be found at
known bugs.
Information
It's strongly recommended that you use an actual version of the Destiny.dll, because this command doesn't work reliably on older versions of Destiny.dll!
Syntax
Return value
None
Type
Method
Parameter: Slot
Description
The number of the save slot.
Data type
Dword
Range
0 to 99
Example
At the end the game whould be loaded (except the destiny scopes) from the file Save01.lsd.
Description
Quits the current game and returns to Windows.
Syntax
Return value
None
Type
Method
Example
At the end the game whould exit.