samv96UK Posted September 5, 2013 Posted September 5, 2013 Hi everyone, I was wondering if any of the scripting gurus out there knew of a papyrus function that will load the last save game? Basically as one of the side quests in my mod I would like to do an escort quest in which you have to defend a carriage from bandits until it reaches a certain location without the driver being killed. The problem is I don't know of any papyrus function that would do this. If it does exist, I would need it in this context: Event OnDeath(Actor killer) Debug.Messagebox("The Carriage driver has been killed!") (Reload last save game) EndEventIf anyone knows of such a function, please let me know! Cheers!
IsharaMeradin Posted September 5, 2013 Posted September 5, 2013 Requires SKSEMake a save with this command. Probably when you assign the quest.http://www.creationkit.com/SaveGame_-_Game Then load that save with this command whenever the character fails the quest.http://www.creationkit.com/LoadGame_-_Game Exact script setup I'm not too sure of, but maybe it will help get you started. This is the only method that I can see, there is no stock function to load a save game.
samv96UK Posted September 5, 2013 Author Posted September 5, 2013 Thanks for pointing me there, it looks like the right code! Unfortunately I don't really want my mod to be SKSE dependent since I don't want it to have any requirements (except Skyrim ofc). Thanks anyway!
baltasaronmeth Posted September 5, 2013 Posted September 5, 2013 Make sure to warn your users about this little detail. Many of us want to just leave the driver dead, have the quest failed and go on with our lifes. This is Skyrim, after all, nothing breaks roleplay and immersion, like a shooter-style checkpoint system.
CraftySentinel Posted September 6, 2013 Posted September 6, 2013 Thanks for pointing me there, it looks like the right code! Unfortunately I don't really want my mod to be SKSE dependent since I don't want it to have any requirements (except Skyrim ofc). Thanks anyway! I guess if that's the case the only way I could see this happening is if you were to kill the player and allow the game to just do it's thing, (Perhaps using a Imod to blacken the screen so the player will not see themselves being killed?)
myztikrice Posted September 6, 2013 Posted September 6, 2013 There's no reason to fear a SKSE dependency.
drakshdw Posted September 6, 2013 Posted September 6, 2013 I agree with myztikrice. Players who download mods generally have SKSE, and those who don't really should download it.
Recommended Posts