The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



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
AddPlayerBodyForce help fix
savior10946 Offline
Junior Member

Posts: 8
Threads: 7
Joined: Mar 2011
Reputation: 0
#1
AddPlayerBodyForce help fix

I want the player to be pushed back but it wont work heres the script


void OnStart()
{
AddEntityCollideCallback("Player", "Script_1", "Scary_1", true, 1);
}

void Scary_1(string &in asParent, string &in asChild, int alState)
{
AddPlayerBodyForce(0, -15000, 0, false);
}

whats wrong with it?
(This post was last modified: 12-31-2011, 04:14 AM by savior10946.)
12-31-2011, 04:14 AM
Find


Messages In This Thread
AddPlayerBodyForce help fix - by savior10946 - 12-31-2011, 04:14 AM
RE: AddPlayerBodyForce help fix - by flamez3 - 12-31-2011, 07:18 AM



Users browsing this thread: 1 Guest(s)