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
#12
RE: How do you make a monster spawn and then he leaves and you can hear a door opened.

LookAt you want say ?

Here the command :

void StartPlayerLookAt(string& asEntityName, float afSpeedMul, float afMaxSpeed, string& asAtTargetCallback);
void StopPlayerLookAt();

Forces the player to look at a certain entity until StopPlayerLookAt is used.

asEntityName - the entity to look at
afSpeedMul - how fast should the player look at the entity
afMaxSpeed - maximum speed allowed
asAtTargetCallback - function to call when player looks at target

Said to me if you want help to put Wink

Sorry for my bad english
Amnesia The Revenge - Chapter 1
(This post was last modified: 08-22-2011, 06:42 PM by narutohokager.)
08-22-2011, 06:41 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-22-2011, 06:41 PM



Users browsing this thread: 1 Guest(s)