User Tools

Site Tools


harlowe:load-game

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
harlowe:load-game [2017/10/09 20:39]
127.0.0.1 external edit
harlowe:load-game [2019/04/16 03:12]
l
Line 20: Line 20:
 This macro assumes that the save slot exists and contains a game, which you can check by seeing if This macro assumes that the save slot exists and contains a game, which you can check by seeing if
 ''​%%[[harlowe:​saved-games|(saved-games:​)]] contains%%''​ the slot name before running (load-game:​). ''​%%[[harlowe:​saved-games|(saved-games:​)]] contains%%''​ the slot name before running (load-game:​).
 +
 +This command can't have [[harlowe:​changer|changers]] attached - attempting to do so will produce an error.
 +
 +In the event that the saved data exists, but contains an error - for instance, if it refers to a passage which doesn'​t exist in this story, which could happen if one version of the story is used to save it, and another is used to open it - then a polite dialog box will appear asking the reader whether or not the data should be deleted. An example of such a dialog is below.
 +
 +<​blockquote>​
 +Sorry to interrupt... The story tried to load saved data, but there was a problem.
 +The data refers to a passage named '​example',​ but it isn't in this story.<​br><​br>​
 +That data might have been saved from a different version of this story. Should I delete it?<​br>​
 +(Type '​delete'​ and choose OK to delete it.)<​br><​br>​
 +Either way, the story will now continue without loading the data.
 +</​blockquote>​
  
 === See also: === === See also: ===
  
 [[harlowe:​save-game|(save-game:​)]],​ [[harlowe:​saved-games|(saved-games:​)]] [[harlowe:​save-game|(save-game:​)]],​ [[harlowe:​saved-games|(saved-games:​)]]
harlowe/load-game.txt ยท Last modified: 2019/04/16 03:13 by l