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
How to remove playerlookatcallback.
Red Offline
Posting Freak

Posts: 1,757
Threads: 49
Joined: Feb 2012
Reputation: 54
#4
RE: How to remove playerlookatcallback.

(11-04-2012, 11:28 AM)The chaser Wrote: ////List of scripts (watch out, the StartLook is in here) there's a timer that will call whateva'


void whateva' (string &in asTimer)
{
StopPlayerLookAt();
}
That stops the player from looking.

(11-04-2012, 11:41 AM)beecake Wrote: I would say do the look at callback and add variables:

void LookAtCallback();
{
if(GetLocalVarInt("StopLook") == 0)
{

}
}

Then just use SetLocalVarInt("StopLook", 1); When you want it to stop
Yep, that did it, thanks mate.
(This post was last modified: 11-04-2012, 11:55 AM by Red.)
11-04-2012, 11:50 AM
Find


Messages In This Thread
How to remove playerlookatcallback. - by Red - 11-04-2012, 10:52 AM
RE: How to remove playerlookatcallback. - by Red - 11-04-2012, 11:50 AM



Users browsing this thread: 2 Guest(s)