Announcement: Be excellent to each other.


Caravel Forum : DROD RPG Boards : RPG Architecture : Autosave Checkpoint Script (Easy way to set up checkpoints for your hold)
New Topic New Poll Post Reply
Poster Message
kieranmillar
Level: Smitemaster
Rank Points: 2670
Registered: 07-11-2014
IP: Logged
icon Autosave Checkpoint Script (+4)  
Want to add an autosave checkpoint like Tendry's Tale has? Here's an easy process:

1: Download Checkpoints.png from here
https://forum.caravelgames.com/viewtopic.php?TopicID=27418

2: Make a new character in your hold. Assign Checkpoints.png as a custom sprite.

3: Copy the following to your clipboard:
  Imperative 14
  Disappear 
  Imperative 12
  Set var "_MyO" = 1
Label Loop
  Wait for player to touch me 
  Set var "_MyO" = 2
  Autosave CHANGE THIS TEXT
Label Standing on Checkpoint
  Wait 0
  Set var "_MyScriptX" = _MyX
  Set var "_MyScriptY" = _MyY
  If ... 
        Wait for entity Player 0,0,0,0
     Set var "_MyScriptX" = -9999
     Set var "_MyScriptY" = -9999
     Go to Standing on Checkpoint
  If End 
  Set var "_MyScriptX" = -9999
  Set var "_MyScriptY" = -9999
  Set var "_MyO" = 1
  Go to Loop
  Replace with Default Script 


4: Place a character in your room, make it your custom checkpoint character and SET IT TO VISIBLE so that you can see it on future playthorughs when looking ahead into a previously explored room. Paste the above script by pressing Ctrl + Shift + B.

5: Update the autosave name as required.

Note that placing this into a default script will not work as you need to change the name of the autosave and it can't be set via a variable.
08-08-2021 at 06:26 PM
View Profile Send Private Message to User Show all user's posts High Scores This architect's holds Quote Reply
New Topic New Poll Post Reply
Caravel Forum : DROD RPG Boards : RPG Architecture : Autosave Checkpoint Script (Easy way to set up checkpoints for your hold)
Surf To:


Forum Rules:
Can I post a new topic? No
Can I reply? No
Can I read? Yes
HTML Enabled? No
UBBC Enabled? Yes
Words Filter Enable? No

Contact Us | CaravelGames.com

Powered by: tForum tForumHacks Edition b0.98.8
Originally created by Toan Huynh (Copyright © 2000)
Enhanced by the tForumHacks team and the Caravel team.