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
MovePlayerforward Function not recognized
Datguy5 Offline
Senior Member

Posts: 629
Threads: 25
Joined: Dec 2011
Reputation: 12
#5
RE: MovePlayerforward Function not recognized

void OnStart()
{
AddTimer("TimerTest", 2.0f, "Test"); //Testing only
}
void Test(string &in asTimer) //Testing only
{
MovePlayerForward(0.5f);
AddTimer(asTimer, 2.0f, "Test");
}


I think the second AddTimer is wrong.
AddTimer(asTimer, 2.0f, "Test");
instead of putting asTimer there, put "" so its AddTimer("", 2.0f, "Test");

(This post was last modified: 10-24-2014, 05:55 PM by Datguy5.)
10-24-2014, 05:54 PM
Find


Messages In This Thread
RE: MovePlayerforward Function not recognized - by Datguy5 - 10-24-2014, 05:54 PM



Users browsing this thread: 2 Guest(s)