Scripting help - 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: Scripting help (/thread-9757.html) |
Scripting help - Nathannnnr93 - 08-14-2011 I need help, im new to scripting and all i know is the basics. I made an area on my map and i want it to trigger a sound. The cry of an enemy to be exact, Is there anyone thats willing to help me? ALSO while im here, how do i switch off ambient lights so i know what my map will look like? thanks RE: Scripting help - Obliviator27 - 08-14-2011 Code: void OnStart RE: Scripting help - Nathannnnr93 - 08-14-2011 Ok so im obviously going to replace the sound to the one i want but do i make different script files for different areas on my map? how does it know what area i want it to collide with to make the sound? im confused.. If you can point me in the direction of an "understandable" tutorial or something would be of much help Thanks for the script snippett aswell |