Making an area execute StopPlayerLookAt(); - Printable Version +- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum) +-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html) +--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html) +---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html) +---- Thread: Making an area execute StopPlayerLookAt(); (/thread-17363.html) |
Making an area execute StopPlayerLookAt(); - lolmaster - 07-30-2012 I have a script where if I pick up a key it plays a sound and looks at a defined area. Then I have a script where the player collides with a new area and the new area uses StopPlayerLookAt();. It doesn't work. Is it supposed to? I've also thought about using a timer for this, and scrapping the new area. RE: Making an area execute StopPlayerLookAt(); - Your Computer - 07-30-2012 If coded right and the proper type of area is used, it's supposed to work. However, you didn't provide your code for verification. RE: Making an area execute StopPlayerLookAt(); - lolmaster - 07-30-2012 I got it to work. I actually wanted the player to just look at the door and then stop looking, so I added the timer. RE: Making an area execute StopPlayerLookAt(); - Your Computer - 07-30-2012 (07-30-2012, 06:50 PM)lolmaster Wrote: I got it to work. I actually wanted the player to just look at the door and then stop looking, so I added the timer. Then why not just pass StopPlayerLookAt to StartPlayerLookAt? RE: Making an area execute StopPlayerLookAt(); - lolmaster - 07-30-2012 (07-30-2012, 07:38 PM)Your Computer Wrote:I don't know.(07-30-2012, 06:50 PM)lolmaster Wrote: I got it to work. I actually wanted the player to just look at the door and then stop looking, so I added the timer. |