I'm just curious why you'd like to do something like this. I know as a player I'd be super frustrated if a wrong move erased my entire progress in a level and reset me back to the start.hecktickxx wrote:is it possible to reset an entire level or the entire dungeon? as I need to make it where you get teleported back to the beginning which will be set back to its default self. thanks for the help
Yeah. That's why I gave up playing ghouls and ghostsDarsithis wrote:I'm just curious why you'd like to do something like this. I know as a player I'd be super frustrated if a wrong move erased my entire progress in a level and reset me back to the start.hecktickxx wrote:is it possible to reset an entire level or the entire dungeon? as I need to make it where you get teleported back to the beginning which will be set back to its default self. thanks for the help
Code: Select all
function CheckLeverStates()
if lever1:getLeverState() == "activated" and lever2:getLeverState() == "activated" and lever3:getLeverState() == "activated" and lever4:getLeverState() == "activated" and lever5:getLeverState() == "activated" then
eg_door:open()
end
end
Code: Select all
function reset()
curtain_3:destroy()
curtain_1:destroy()
spawn("curtain", 1, 16, 9, 3, "curtain_3")
spawn("curtain", 1, 16, 11, 3, "curtain_1")
end