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
Script Help Player Head Movement & Waking up
ZyLogicX Offline
Member

Posts: 245
Threads: 24
Joined: May 2011
Reputation: 6
#1
Player Head Movement & Waking up

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

Beyond the Mountains of Madness [15%]
This forum is dying.
01-05-2012, 11:24 PM
Find
Statyk Offline
Schrödinger's Mod

Posts: 4,390
Threads: 72
Joined: Sep 2011
Reputation: 241
#2
RE: Player Head Movement & Waking up

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/amn..._functions
(This post was last modified: 01-05-2012, 11:43 PM by Statyk.)
01-05-2012, 11:43 PM
Find
ZyLogicX Offline
Member

Posts: 245
Threads: 24
Joined: May 2011
Reputation: 6
#3
RE: Player Head Movement & Waking up

could you explain to me the float and call back?

Beyond the Mountains of Madness [15%]
This forum is dying.
01-05-2012, 11:52 PM
Find
Statyk Offline
Schrödinger's Mod

Posts: 4,390
Threads: 72
Joined: Sep 2011
Reputation: 241
#4
RE: Player Head Movement & Waking up

(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
01-05-2012, 11:54 PM
Find




Users browsing this thread: 1 Guest(s)