Scripts / Help with Checkpoint script

Author
Message
Super Masgamer
Audio Media Maker
5
Years of Service
User Offline
Joined: 2nd Dec 2018
Playing: Quad Damage
Posted: 10th Aug 2019 19:22
Hey so what i'm trying to do is have the level restart at a checkpoint. I have this which starts the whole level over again.


But im wondering if there is a way to use that with a checkpoint. Basically, I just want the level to restart fresh at a certain checkpoint.


tried this and it doesnt work
Peri
Game Guru Backer
14
Years of Service
User Offline
Joined: 6th Jan 2010
Location:
Posted: 24th Aug 2019 15:44
I am also looking for it, hope to see it in game guru like all the modern games
smallg
Community Leader
18
Years of Service
User Offline
Joined: 8th Dec 2005
Location:
Posted: 24th Aug 2019 16:29
this should get you started - you will want to work out a way to tie the file to each play through or delete the file on a new game / load of a different game though otherwise the player will be teleported to the latest checkpoint or cause conflict between levels etc
lua guide for GG
https://steamcommunity.com/sharedfiles/filedetails/?id=398177770
windows 10
i5 @4ghz, 8gb ram, AMD R9 200 series , directx 11

Attachments

Login to view attachments

Login to post a reply

Server time is: 2024-04-27 04:38:07
Your offset time is: 2024-04-27 04:38:07