Frictional Games Forum (read-only)

Full Version: Need help writeing a script
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
(08-29-2012, 09:09 PM)beecake Wrote: [ -> ]StartPlayerLookAt. Search at
http://wiki.frictionalgames.com/hpl2/amn..._functions
i know about the function script just wondering how to script it , eny thoughts?
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