How do I make timers trigger when I enter a specific area? - 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: How do I make timers trigger when I enter a specific area? (/thread-17169.html) |
How do I make timers trigger when I enter a specific area? - HeadyBoy - 07-21-2012 I don't know if this is possible but I really want to see if I can do it. In my custom story the guy you play as has a conversation with somebody at the other side of the door before he opens a door for you. I want vocals from the guy you play as to come out at the player and I want the vocals from the other character to come out at the other side of the wall and afterwards, the guy behind the door is going to pull a lever to open up door for you to go through. Does anybody know how to do this? Can it be done? RE: How to trigger one thing after another - i3670 - 07-21-2012 Timers and PlaySoundAtEntity? RE: How to trigger one thing after another - HeadyBoy - 07-21-2012 I'm a bit of a newibe. Thanks, I'll try and do something with that (Doublepost) I am looking for tutorials on how make timers. Could somebody give me a basic script for when a player enters an area that triggers a timer that plays a sound? Pretty please<3 RE: How to trigger one thing after another - Mackiiboy - 07-22-2012 (07-21-2012, 11:18 PM)HeadyBoy Wrote: I am looking for tutorials on how make timers. Could somebody give me a basic script for when a player enters an area that triggers a timer that plays a sound?. Check the Engine Script page and you will learn how to do it. I have written down everything you will need, below: Code: void OnStart() RE: How do I make timers trigger when I enter a specific area? - HeadyBoy - 07-22-2012 I will give that a try once I get my voices done. Thank you ever so much. |