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 Simulate the player being dragged ?
Neelke Offline
Senior Member

Posts: 668
Threads: 82
Joined: Apr 2013
Reputation: 26
#8
RE: Simulate the player being dragged ?

void Drag(string &in asTimer)
{
  AddPlayerBodyForce(8000, 0, -8000, false);
  AddTimer(asTimer, 1.5f, "(Player)Drag");
}

Marked with () what was wrong. The timer aint named like that. This below is correct.

void Drag(string &in asTimer)
{
  AddPlayerBodyForce(8000, 0, -8000, false);
  AddTimer(asTimer, 1.5f, "Drag");
}

Derp.
03-24-2014, 09:54 PM
Find


Messages In This Thread
RE: Simulate the player being dragged ? - by Neelke - 03-24-2014, 09:54 PM



Users browsing this thread: 1 Guest(s)