9.1 Destiny object
Description
The Destiny object represents the Destiny.dll and can be used to query the version of the Destiny.dll, setting up the language, as soon as saving/loading the scopes of Destiny.dll.
List of methods/properties
Name | Type | Short description |
VersionMajor | Property | The integer part of the used Destiny.dll version |
VersionMinor | Property | The decimal part of the used Destiny.dll version |
DllVersionMajor | Property | The integer part of the available Destiny.dll version |
DllVersionMinor | Property | The decimal part of the available Destiny.dll version |
Language | Property | The used language of the Destiny.dll |
Save | Method | Saves the values of all scopes of the Destiny.dll |
Load | Method | Loads the values of all scopes of the Destiny.dll |
Description
Returns the integer part of the used Destiny.dll version. For example if a version 3.4 whould be available and the version 1.2 whould be used this property whould return 1.
Syntax
Data type
Dword
Type
Property, read-only
Example
1
2
$
v[1] = Destiny.VersionMajor
On Destiny.dll version 1.0 v[1] whould be at end: 1
Description
Returns the decimal part of the used Destiny.dll version. For example if a version 3.4 whould be available and the version 1.2 whould be used this property whould return 2.
Syntax
Data type
Dword
Type
Property, read-only
Example
1
2
$
v[1] = Destiny.VersionMinor
On Destiny.dll version 1.0 v[1] whould be at end: 0
Description
Returns the integer part of the available Destiny.dll version. For example if a version 3.4 whould be available and the version 1.2 whould be used this property whould return 3.
Syntax
1
Destiny.DllVersionMajor
Data type
Dword
Type
Property, read-only
Example
1
2
$
v[1] = Destiny.DllVersionMajor
On Destiny.dll version 1.0 v[1] whould be at end: 1
Description
Returns the decimal part of the available Destiny.dll version. For example if a version 3.4 whould be available and the version 1.2 whould be used this property whould return 4.
Syntax
1
Destiny.DllVersionMinor
Data type
Dword
Type
Property, read-only
Example
1
2
$
v[1] = Destiny.DllVersionMinor
On Destiny.dll version 1.0 v[1] whould be at end: 0
Description
This is the chosen language of the Destiny.dll. If you change this value you change the language of the error messages, too.
Syntax
Data type
Dword
Type
Property
Range
0: Language German
1: Language English
Example
1
2
$
Destiny.Language = 1
At the end all error messages whould be english.
Description
Saves all scopes of the Destiny.dll (dwords, doubles and strings) into a file. The file will be stored into the game directory and has the name SaveXX.dsd (XX will be replaced with the slot in two digit format).
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 all d[...], f[...] and a[...] scopes whould be saved in the file Save01.dsd.
Description
Loads the scopes of the Destiny.dll (dwords, doubles and strings) from a file. The file is stored into the game directory and has the name SaveXX.dsd (XX will be replaced with the slot in two digit format).
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 all d[...], f[...] and a[...] scopes whould be loaded from the file Save01.dsd.