[SCRIPT] Need help writeing a script - 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] Need help writeing a script (/thread-18034.html) |
Need help writeing a script - BirdMan1988 - 08-29-2012 i have posted once befor , but did not get the awnser i was looking for =( so i must re word it .. im trying to write a script for a scare event ... i have it were u walk thru the door to a certain area script and it slams shut , but i would like for the player to look back at the door when the door slams. now i am hoping that someone know how to script this and eny help would be most geratefull RE: want to know how to move player camra - FlawlessHappiness - 08-29-2012 StartPlayerLookAt. Search at http://wiki.frictionalgames.com/hpl2/amnesia/script_functions RE: want to know how to move player camra - BirdMan1988 - 08-29-2012 (08-29-2012, 09:09 PM)beecake Wrote: StartPlayerLookAt. Search ati know about the function script just wondering how to script it , eny thoughts? RE: want to know how to move player camra - FlawlessHappiness - 08-30-2012 Make door collide with script area (When it slams). Make a callback that makes StartPlayerLookAt the door. Add a timer that makes a callback that StopPlayerLookAt |