Need help on a few things 
			 
			
				im trying to get my intro to work right, and everything does except one thing. i want the player to look at a door and have it creak open about half way. all i cant get to happen to the door always be open, and the sound i want to play for the door opening plays over and over again. but my player making sounds, like breathing doesnt. 
 
heres whats i have set up. 
 
 
void OnStart() 
{ 
	SetPlayerActive(false);  
	SetPlayerCrouching(true);  
	FadeOut(0);  
	FadeIn(3); 
	AddTimer("T1", 3, "Intro"); 
	AddTimer("T2", 6, "Intro"); 
	AddTimer("T3", 9, "Intro"); 
	AddTimer("T4", 12, "Intro");  
	AddTimer("T5", 15, "Intro");  
} 
 
void Intro(string &in asTimer) 
{ 
	string x = asTimer; 
	if (x == "T1") 
	{ 
 PlaySoundAtEntity("", "react_sigh.snt", "Player", 0, false); 
 FadeOut(3); 
	}  
	else if (x == "T2")  
	{ 
 FadeIn(3); 
 PlaySoundAtEntity("", "react_breath.snt", "Player", 0, false); 
 StartPlayerLookAt("ScriptArea_2", 2, 2, ""); 
 PlaySoundAtEntity("", "FORGOT THE SOUND FILE NAME", "Door1", 0, false); 
 SetMoveObjectState("Door1", 0.50); 
  
	} 
	else if (x == "T3") 
	{ 
 StopPlayerLookAt(); 
 StartPlayerLookAt("ScriptArea_3", 1, 1, ""); 
	} 
	else if (x == "T4")  
	{ 
 SetLampLit("DeskCandle1", true, true); 
 PlaySoundAtEntity("", "react_breath_slow.snt", "Player", 0, false); 
 StopPlayerLookAt(); 
	} 
	else if (x == "T5") 
	{ 
 SetPlayerCrouching(false); 
 SetPlayerActive(true); 
 AddQuest("WakeUp", "WakeUp"); 
	} 
} 
 
 
I have a level door up to unlock after the player completes 3 quest.  But at the points when it unlocks. it just does,  nothing to let the player know its unlocked.  I need some advice on a good way to let the player know, like good sound, or music to use. 
 
And also, how can i make it look like the player is laying in bed at the start, then gets out. i messed around with a lot of stuff, but i cant get it right.
			 
			
			
			
				
(This post was last modified: 02-03-2012, 07:55 PM by Death Icarus.)
 
				
			 
		 |