Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Scripting Problems !
AmnesiaIsScary :S Offline
Junior Member

Posts: 22
Threads: 3
Joined: Sep 2011
Reputation: 1
#11
RE: Scripting Problems !

(09-14-2011, 04:24 PM)Your Computer Wrote:
(09-14-2011, 04:10 PM)AmnesiaIsScary :S Wrote: Anyone ^ ?

StopPlayerLookAt();

Refer to http://wiki.frictionalgames.com/hpl2/amn..._functions for anything else
I tried to do it ... I put the stopplayerlookat(); and it didn't do anything ...
And if i put it in the
{
SetSwingDoorClosed("DoorClose", true, true);
GiveSanityDamage(3, true);
PlayGuiSound("scare_slam_door.snt", 0.5f);
PlayGuiSound("react_pant2.ogg", 0.5f);
StartPlayerLookAt("DoorClose", 5, 10, "");
StopPlayerLookAt();
}

It stops immediately without even looking at what i want ...

Can you show me the exact script I need to put with what I showed in my reply ?


09-14-2011, 05:16 PM
Find
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#12
RE: Scripting Problems !

(09-14-2011, 05:16 PM)AmnesiaIsScary :S Wrote: Can you show me the exact script I need to put with what I showed in my reply ?

StartPlayerLookAt("DoorClose", 5, 10, "StopPlayerLookAt");

Tutorials: From Noob to Pro
09-14-2011, 05:22 PM
Website Find
AmnesiaIsScary :S Offline
Junior Member

Posts: 22
Threads: 3
Joined: Sep 2011
Reputation: 1
#13
RE: Scripting Problems !

(09-14-2011, 05:22 PM)Your Computer Wrote:
(09-14-2011, 05:16 PM)AmnesiaIsScary :S Wrote: Can you show me the exact script I need to put with what I showed in my reply ?

StartPlayerLookAt("DoorClose", 5, 10, "StopPlayerLookAt");
Thank You . (A lot , XD Im dumb..)


09-14-2011, 05:25 PM
Find




Users browsing this thread: 1 Guest(s)