![]() |
Jumpscares - 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: Jumpscares (/thread-17777.html) |
RE: Jumpscares - Adny - 08-15-2012 (08-15-2012, 07:47 PM)GoranGaming Wrote: void OnStart()Am I doing it right? void OnStart() { for(int i=1;i<=72;++i) SetEntityActive("flying_naked_guy_" + i, true); AddTimer("", 0.2f, "Sound"); } void Sound(string &in asTimer) { PlayGuiSound("24_iron_maiden", 1.0f); AddTimer("", 0.2f, "Sound"); } |