Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How do you make a monster spawn and then he leaves and you can hear a door opened.
narutohokager Offline
Member

Posts: 149
Threads: 28
Joined: Jan 2011
Reputation: 0
#15
RE: How do you make a monster spawn and then he leaves and you can hear a door opened.

If I understand you want to after look the target LookAt, automatically stops the watch ?

Ex: Player look automatically at Door_1, when player look Door_1, Look automatically stop immediately.

If that :

void LookDoor()
{
StartPlayerLookAt("AreaLookDoor", 3.0f, 3.5f, "StopLook");
}
void StopLook()
{
    StopPlayerLookAt();
}

When player look at AreaLookDoor, he run the fonction "StopLook"

Sorry for my bad english
Amnesia The Revenge - Chapter 1
08-23-2011, 12:54 PM
Website Find


Messages In This Thread
RE: How do you make a monster spawn and then he leaves and you can hear a door opened. - by narutohokager - 08-23-2011, 12:54 PM



Users browsing this thread: 1 Guest(s)