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
Addpropforce to player?
Amnesiaplayer Offline
Senior Member

Posts: 539
Threads: 105
Joined: Jun 2014
Reputation: 0
#6
RE: Addpropforce to player?

My script for only the function etc.


PHP Code: (Select All)
void Explosion(string &in asEntity)
{
StartPlayerLookAt("Water"510"");
SetEntityActive("Monster"true);
SetEntityActive("Lamp"true);
SetPlayerMoveSpeedMul(0.01);
SetPlayerRunSpeedMul(0.01);
SetMessage("Messages""Hint2"1);
StartPlayerLookAt("Monster"510"");
SetPlayerJumpDisabled(true);
AddTimer(""1.5,"BOOM");
}

void BOOM(string &in asTimer)
{
AddTimer(""6,"BOOM");
AddPlayerBodyForce(00100000true);
SetPlayerFallDamageDisabled(true);


also SetplayerFallDamageDisabled doesn't work, it needs to be in there, but it says : no matchign signatures to Setplayerfalldamage blabla Etc, I really need it then, and also, i only need the prop force 1 time, he just needs to "fly" 1 time, and then it needs to be disabled (and the SetplayerfalldamageDisabled must be activated...
04-13-2015, 01:19 PM
Find


Messages In This Thread
Addpropforce to player? - by Amnesiaplayer - 04-12-2015, 06:57 PM
RE: Addpropforce to player? - by Neelke - 04-12-2015, 07:02 PM
RE: Addpropforce to player? - by Amnesiaplayer - 04-12-2015, 07:04 PM
RE: Addpropforce to player? - by Neelke - 04-12-2015, 07:41 PM
RE: Addpropforce to player? - by Amnesiaplayer - 04-13-2015, 01:19 PM
RE: Addpropforce to player? - by Amnesiaplayer - 04-13-2015, 01:35 PM



Users browsing this thread: 1 Guest(s)