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
[SOLVED] StartPlayerLookAt following a grunt?
Neelke Offline
Senior Member

Posts: 668
Threads: 82
Joined: Apr 2013
Reputation: 26
#4
RE: StartPlayerLookAt following a grunt?

Then what you can do is update the StartPlayerLookAt with a timer. The camera should then adjust perfectly by itself with this.

void TimerGruntUpdate(string &in asTimer)
{
StartPlayerLookAt("grunt", 3.0f, 3.0f, "");
AddTimer("grunt", 0.01f, "TimerGruntUpdate");
}

Derp.
(This post was last modified: 02-25-2015, 08:58 PM by Neelke.)
02-25-2015, 08:58 PM
Find


Messages In This Thread
RE: StartPlayerLookAt following a grunt? - by Neelke - 02-25-2015, 08:58 PM



Users browsing this thread: 1 Guest(s)