Frictional Games Forum (read-only)

Full Version: Quit/Reset on Death
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey guys got to make this nice and short, so in my intro there is a short monster chase and if you die and respawn back to the start, all in all, the whole introduction to the story is glitched. So, I would like to make it that if you are killed by this grunt, you either A, force quit the game (like in Justine, or purposely making a script error) or B, resetting the map completely on respawn.

I would just like to know how to do this, THANK YOU!

-DoM
ChangeMap(string& asMapName, string& asStartPos, string& asStartSound, string& asEndSound);

asMapName - the file to load
asStartPos - the name of the StartPos on the next map
asStartSound - the sound that is played when the change starts
asEndSound - the sound that is played when the new map is loaded
I'm afraid that's not possible but you can create a check point
Like if you walk over the area trigger and the next thing, a grunt killed you.
You will respawn at that area you walked over.
If you add a playerstart on area type