![]() |
Newbie needs help scripting - 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 (https://www.frictionalgames.com/forum/forum-35.html) +--- Thread: Newbie needs help scripting (/thread-7118.html) Pages:
1
2
|
RE: Newbie needs help scripting - Austums - 03-31-2011 Here DrQuackinducks, this is what my script looks like. This should help you out if you're confused at all. Code: void OnEnter() OnEnter() means that when the player enters the map, the functions in the brackets happen. I added a timer called "FadeIntro" with 0 seconds as the time. void FadeIntro(string &in asTimer) is just linking the Timer and the Intro together. Hope this helps! RE: Newbie needs help scripting - DrQuackinducks - 03-31-2011 thanks for all your help everyone, problem has been solved and my script is now nearing 200 lines |