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
Force player to look somewhere
The chaser Offline
Posting Freak

Posts: 2,486
Threads: 76
Joined: Jun 2012
Reputation: 113
#5
RE: Force player to look somewhere

But, what's your problem? It doesn't look, it doesn't stop looking?
Also, that's a good thread.

If you want it to stop looking, use

StopPlayerLookAt();

If you want it to look somewhere, it should be like this:


void OnStart ()
{
AddEntityCollideCallback("Player", "ScriptArea", "Lookat", true, 1);
}

void Lookat (string &in asParent, string &in asChild, int alState);
{
StartPlayerLookAt("AreaLookAt", 2, 2, "");
}

THE OTHERWORLD (WIP)
[Image: k6vbdhu]

Aculy iz dolan.
10-12-2012, 02:43 PM
Find


Messages In This Thread
Force player to look somewhere - by naseem142 - 10-12-2012, 01:26 PM
RE: Force player to look somewhere - by Robby - 10-12-2012, 01:57 PM
RE: Force player to look somewhere - by naseem142 - 10-12-2012, 02:35 PM
RE: Force player to look somewhere - by Lizard - 10-12-2012, 02:34 PM
RE: Force player to look somewhere - by The chaser - 10-12-2012, 02:43 PM
RE: Force player to look somewhere - by naseem142 - 10-12-2012, 02:53 PM
RE: Force player to look somewhere - by naseem142 - 10-12-2012, 03:07 PM
RE: Force player to look somewhere - by naseem142 - 10-12-2012, 04:28 PM



Users browsing this thread: 6 Guest(s)