Frictional Games Forum (read-only)
look at 3 places, - 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: look at 3 places, (/thread-7137.html)



look at 3 places, - savior10946 - 04-01-2011

Im a noob at scripting and I wanna know how to make it so It will look at 3 spots auto for the begging.Like when it starts I want it to look at thos 3 spots slowly and make him close his eyes then open is it possible?


RE: look at 3 places, - Anxt - 04-01-2011

What you can do is set up 3 areas or objects in the room you want him to look at, then use the function:

StartPlayerLookAt(string& asEntityName, float afSpeedMul, float afMaxSpeed, string &asAtTargetCallback);

Then use timers to make it go to the next one, and repeat.


RE: look at 3 places, - palistov - 04-01-2011

If you want a 'blink' or 'closing eyes' effect, try FadeOut() then a FadeIn() with fairly short durations. Check out the wiki for the list of functions.


RE: look at 3 places, - MrBigzy - 04-02-2011

Mixing that in with an image trail or radial blur effect might work well too.