[SCRIPT] Player Head Movement & Waking up - 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] Player Head Movement & Waking up (/thread-12386.html) |
Player Head Movement & Waking up - ZyLogicX - 01-05-2012 I have seen alot of stories that start off with the player waking up and moving the player's head.... I was wondering how I would approach this to script... Thanks.... ZyLogicX RE: Player Head Movement & Waking up - Statyk - 01-05-2012 Main scripts: FadeIn(float); FadeOut(float); StartPlayerLookAt("entitytolookat", float, float, "callback"); StopPlayerLookAt(); OPTIONAL: SetPlayerActive(bool); You will have to place the script areas/entities to look at. This should help: http://wiki.frictionalgames.com/hpl2/amnesia/script_functions RE: Player Head Movement & Waking up - ZyLogicX - 01-05-2012 could you explain to me the float and call back? RE: Player Head Movement & Waking up - Statyk - 01-05-2012 (01-05-2012, 11:52 PM)ZyLogicX Wrote: could you explain to me the float and call back?pick the link I gave and hit "ctrl+F" and search the functions. It will tell you what they do |