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
Forcing view of the player to look at a door when it slams shut
Prelauncher Offline
Senior Member

Posts: 451
Threads: 11
Joined: May 2011
Reputation: 13
#4
RE: Forcing view of the player to look at a door when it slams shut

You should put the "StartPlayerLookAt" under the "func_slam" function. The computer doesn´t call that function in the script´s current state. You should also add a timer which after an aproperiate time call the function, for example; addtimer("StopLook", 3, "NoLooking");

void NoLooking(string &in as Timer)
{
StopPlayerLookAt();
}

Socialism (noun): A great way to run out of other people's money.
(This post was last modified: 02-12-2012, 08:05 PM by Prelauncher.)
02-12-2012, 08:03 PM
Find


Messages In This Thread
RE: Forcing view of the player to look at a door when it slams shut - by Prelauncher - 02-12-2012, 08:03 PM



Users browsing this thread: 2 Guest(s)