12-31-2011, 04:14 AM
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?
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?