Difference between revisions of "Ark lSavepoint"
From EncyclopAtys
(Created page with "'''Manage savepoints of the script''' This module '''saves the state''' of a running script (i.e. save the position for later) This module is the only one that really does t...") |
(No difference)
|
Latest revision as of 16:35, 30 November 2023
Manage savepoints of the script
This module saves the state of a running script (i.e. save the position for later)
This module is the only one that really does this. You can use a Database, but this module are more simple.
Keep in mind that any player who crash or relog will reset the script. Only this module can really continue the pogression.
You can :
- Jump to savepoint: Continue the script at last saved position
- Save the point: The current running stage will be saved. Using Jump to Savepoint, the player will able to continue the pogress of the script.
- Get the savepoint: The variable $D:<stage>:SavePoint will get the name of the stage currently saved
- Reset the savepoint: The script will be reset and will start from begin.
- Reset the savepoint of the event: All the savepoints of all the scripts in the event will be deleted. So, all the scripts in event will start from begin.