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 Stop Player Look at [Solved]
FlawlessHappiness Offline
Posting Freak

Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation: 171
#2
RE: Stop Player Look at

Your mistake is in:

void stop()
{
StopPlayerLookAt();
}

Because you are clearly calling a timerfunction with

AddTimer("", 1, "stop");

Therefore the script-functino must be:

void stop(string &in asTimer)
{
StopPlayerLookAt();
}


Do you see what i added?
These are called parameters, and they help the script understand what kind of function you want to call.

This might help:
http://www.frictionalgames.com/forum/thread-18368.html

Trying is the first step to success.
04-21-2014, 10:36 AM
Find


Messages In This Thread
Stop Player Look at [Solved] - by ShipinShen - 04-21-2014, 05:42 AM
RE: Stop Player Look at - by FlawlessHappiness - 04-21-2014, 10:36 AM
RE: Stop Player Look at - by ShipinShen - 04-21-2014, 12:14 PM



Users browsing this thread: 1 Guest(s)