24 lines
		
	
	
		
			481 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			481 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
//Put this on action taken in the conversation editor
 | 
						|
void main()
 | 
						|
{
 | 
						|
 | 
						|
object oPC = GetPCSpeaker();
 | 
						|
 | 
						|
object oTarget;
 | 
						|
location lTarget;
 | 
						|
 | 
						|
//Teleport Guild Member back to where they last died.
 | 
						|
lTarget = GetCampaignLocation("LOCATIONS", "dth_stored_loc", oPC);
 | 
						|
 | 
						|
if (GetAreaFromLocation(lTarget)==OBJECT_INVALID)
 | 
						|
{
 | 
						|
 FloatingTextStringOnCreature("Location Unavailable", oPC, FALSE);
 | 
						|
 return;
 | 
						|
}
 | 
						|
 | 
						|
AssignCommand(oPC, ClearAllActions());
 | 
						|
 | 
						|
AssignCommand(oPC, ActionJumpToLocation(lTarget));
 | 
						|
 | 
						|
}
 |