| shmuckdom   Junior Member
 
 Posts: 8
 Threads: 5
 Joined: Mar 2011
 Reputation: 
0
 | 
			|  Quit/Reset on Death 
 
				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
 |  | 
	| 03-10-2012, 05:15 AM |  | 
	
		| flamez3   Posting Freak
 
 Posts: 1,281
 Threads: 48
 Joined: Apr 2011
 Reputation: 
57
 | 
			| RE: Quit/Reset on Death 
 
				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
 
 
				
(This post was last modified: 03-10-2012, 06:07 AM by flamez3.)
 |  | 
	| 03-10-2012, 06:07 AM |  | 
	
		| UnseenLegend ( NL )   Member
 
 Posts: 171
 Threads: 10
 Joined: Sep 2011
 Reputation: 
12
 | 
			| RE: Quit/Reset on Death 
 
				I'm afraid that's not possible but you can create a check pointLike 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
 
 
 |  | 
	| 03-10-2012, 10:00 PM |  |