jessehmusic 
 
 
		
			Senior Member 
			
			
			
 
			
	Posts: 423 
	Threads: 102 
	Joined: Dec 2011
	
 Reputation: 
8
		
	 | 
	
		
			
Hps... 
			 
			
				Hello why does only my hps work when i have 01.map atm i have Cellarbase.map and made a Cellarbase.hps and it dosnt work    whats the issue 
			  
			
			
 
			
				
(This post was last modified: 02-26-2012, 08:33 PM by jessehmusic.)
 
				
			 
		 |  
	 
 | 
 
	| 02-26-2012, 03:45 PM  | 
	
		
	 | 
 
 
	
		
		Obliviator27 
 
 
		
			Posting Freak 
			
			
			
 
			
	Posts: 792 
	Threads: 10 
	Joined: Jul 2011
	
 Reputation: 
66
		
	 | 
	
		
			
RE: Hps... 
			 
			
				Evidently your Cellarbase.hps has an error in it. 
			 
			
			
 
			
		 |  
	 
 | 
 
	| 02-26-2012, 04:39 PM  | 
	
		
	 | 
 
 
	
		
		jessehmusic 
 
 
		
			Senior Member 
			
			
			
 
			
	Posts: 423 
	Threads: 102 
	Joined: Dec 2011
	
 Reputation: 
8
		
	 | 
	
		
			
RE: Hps... 
			 
			
				 (02-26-2012, 04:39 PM)Obliviator27 Wrote:  Evidently your Cellarbase.hps has an error in it. 
oid OnStart()
 
{ 
AddUseItemCallback("", "The Lost Key", "Lockeddoor_1", "KeyOnDoor", true); 
}
 
void KeyOnDoor(string &in asItem, string &in asEntity) 
{ 
 SetSwingDoorLocked("Lockeddoor_1", false, true); 
 PlaySoundAtEntity("", "unlock_door", "Lockeddoor_1", 0, false); 
 RemoveItem("The Lost Key"); 
}
 
void OnEnter()
 
{
 
}
 
void OnLeave()
 
{
 
}
 
cant find any errors 
			  
			
			
 
			
		 |  
	 
 | 
 
	| 02-26-2012, 04:43 PM  | 
	
		
	 | 
 
 
	
		
		Obliviator27 
 
 
		
			Posting Freak 
			
			
			
 
			
	Posts: 792 
	Threads: 10 
	Joined: Jul 2011
	
 Reputation: 
66
		
	 | 
	
		
			
RE: Hps... 
			 
			
				void OnStart. Not oid OnStart 
			 
			
			
 
			
		 |  
	 
 | 
 
	| 02-26-2012, 05:02 PM  | 
	
		
	 | 
 
 
	
		
		Datguy5 
 
 
		
			Senior Member 
			
			
			
 
			
	Posts: 629 
	Threads: 25 
	Joined: Dec 2011
	
 Reputation: 
12
		
	 | 
	
		
			
RE: Hps... 
			 
			
				 (02-26-2012, 04:43 PM)jessehmusic Wrote:   (02-26-2012, 04:39 PM)Obliviator27 Wrote:  Evidently your Cellarbase.hps has an error in it.  
oid OnStart() 
 
{ 
AddUseItemCallback("", "The Lost Key", "Lockeddoor_1", "KeyOnDoor", true); 
} 
 
void KeyOnDoor(string &in asItem, string &in asEntity) 
{ 
SetSwingDoorLocked("Lockeddoor_1", false, true); 
PlaySoundAtEntity("", "unlock_door", "Lockeddoor_1", 0, false); 
RemoveItem("The Lost Key"); 
} 
 
void OnEnter() 
 
{ 
 
} 
 
void OnLeave() 
 
{ 
 
} 
 
cant find any errors you have oid on start it should be void OnStart() 
XD
			  
			
			
 
			
		 |  
	 
 | 
 
	| 02-26-2012, 05:02 PM  | 
	
		
	 | 
 
 
	
		
		jessehmusic 
 
 
		
			Senior Member 
			
			
			
 
			
	Posts: 423 
	Threads: 102 
	Joined: Dec 2011
	
 Reputation: 
8
		
	 | 
	
		
			
RE: Hps... 
			 
			
				 (02-26-2012, 05:02 PM)Datguy5 Wrote:   (02-26-2012, 04:43 PM)jessehmusic Wrote:   (02-26-2012, 04:39 PM)Obliviator27 Wrote:  Evidently your Cellarbase.hps has an error in it.  
oid OnStart() 
 
{ 
AddUseItemCallback("", "The Lost Key", "Lockeddoor_1", "KeyOnDoor", true); 
} 
 
void KeyOnDoor(string &in asItem, string &in asEntity) 
{ 
SetSwingDoorLocked("Lockeddoor_1", false, true); 
PlaySoundAtEntity("", "unlock_door", "Lockeddoor_1", 0, false); 
RemoveItem("The Lost Key"); 
} 
 
void OnEnter() 
 
{ 
 
} 
 
void OnLeave() 
 
{ 
 
} 
 
cant find any errors you have oid on start it should be void OnStart() 
XD still dosnt work :/ 
			  
			
			
 
			
		 |  
	 
 | 
 
	| 02-26-2012, 05:33 PM  | 
	
		
	 | 
 
 
	
		
		Datguy5 
 
 
		
			Senior Member 
			
			
			
 
			
	Posts: 629 
	Threads: 25 
	Joined: Dec 2011
	
 Reputation: 
12
		
	 | 
	
		
			
RE: Hps... 
			 
			
				 (02-26-2012, 05:33 PM)jessehmusic Wrote:   (02-26-2012, 05:02 PM)Datguy5 Wrote:   (02-26-2012, 04:43 PM)jessehmusic Wrote:   (02-26-2012, 04:39 PM)Obliviator27 Wrote:  Evidently your Cellarbase.hps has an error in it.  
oid OnStart() 
 
{ 
AddUseItemCallback("", "The Lost Key", "Lockeddoor_1", "KeyOnDoor", true); 
} 
 
void KeyOnDoor(string &in asItem, string &in asEntity) 
{ 
SetSwingDoorLocked("Lockeddoor_1", false, true); 
PlaySoundAtEntity("", "unlock_door", "Lockeddoor_1", 0, false); 
RemoveItem("The Lost Key"); 
} 
 
void OnEnter() 
 
{ 
 
} 
 
void OnLeave() 
 
{ 
 
} 
 
cant find any errors you have oid on start it should be void OnStart() 
XD still dosnt work :/ 
oh : ( try replacing the void keyondoor with this void KeyOnDoor(string &in asItem, string &in asEntity);
			  
			
			
 
			
		 |  
	 
 | 
 
	| 02-26-2012, 05:35 PM  | 
	
		
	 | 
 
 
	 
 |