Frictional Games Forum (read-only)
[SCRIPT] A little help if you don't mind. Should be simple enough. - 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: [SCRIPT] A little help if you don't mind. Should be simple enough. (/thread-19811.html)



A little help if you don't mind. Should be simple enough. - GlitchScatter - 01-05-2013

I haven't scripted in a very long time, so my memory is shot as to what exactly to do. I've tried out the scripting myself but I just can't seem to get it right.

I deleted my scripts a day ago out of rage so I can't post it up here to show you guys my mistake.

I need the character to start off waking up and looking around at the very beginning of the story, standing up and taking a few steps.
I'm sure its overly easy but I have a habit of over-complicating things when I forget how to do them, lol.

If there is already a tutorial on how to do this you can send that to me too, saves everyone a small headache. xD


RE: A little help if you don't mind. Should be simple enough. - FlawlessHappiness - 01-05-2013

Usable lines

FadeOut(0);
FadeIn(0);
StartPlayerLookAt("AREA", 5, 5, "");
StopPlayerLookAt();
SetPlayerActive(false/true);
AddTimer("TIMERNAME", 0, "TIMERFUNCTION");
FadeRadialBlurTo(0, 0);

Play with it Wink


RE: A little help if you don't mind. Should be simple enough. - 343 - 01-05-2013

Here's a tutorial by ThisIsYourComputer about 'Wake up' script. I hope this atleast helps.


RE: A little help if you don't mind. Should be simple enough. - GlitchScatter - 01-05-2013

(01-05-2013, 02:21 AM)beecake Wrote: Usable lines

FadeOut(0);
FadeIn(0);
StartPlayerLookAt("AREA", 5, 5, "");
StopPlayerLookAt();
SetPlayerActive(false/true);
AddTimer("TIMERNAME", 0, "TIMERFUNCTION");
FadeRadialBlurTo(0, 0);

Play with it Wink

Oooo thanks a bunch! Big Grin