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
Explosions!
Twitchez Offline
Member

Posts: 67
Threads: 17
Joined: Mar 2012
Reputation: 1
#5
RE: Explosions!

Still doesn't work :/ Even though I try really high numbers.

For example: AddBodyImpulse("Player", -500.0f, 2.0f, -500.0f, "world"); or AddBodyForce("Player", -500.0f, 2.0f, -500.0f, "world");

My Code:

void function_explode(string &in asChild, string &in asParent, int alState)
{
PlaySoundAtEntity("", "explosion_rock_large.snt", "Player", 0, false);
SetPropHealth("Stone", 0.0f);
StartScreenShake(0.7f, 1.0f, 0.2f, 0.7f);
StartEffectFlash(0.2, 1.0, 0.2);

//To make him fly...
AddBodyForce("Player", -500.0f, 2.0f, -500.0f, "world");

CreateParticleSystemAtEntity("", "ps_area_fog_falling.ps", "Exp_area", false);
AddTimer("", 0.01, "Exp_Flash");
}
(This post was last modified: 04-15-2012, 10:12 PM by Twitchez.)
04-15-2012, 10:09 PM
Find


Messages In This Thread
Explosions! - by Twitchez - 04-15-2012, 09:32 PM
RE: Explosions! - by SilentStriker - 04-15-2012, 09:36 PM
RE: Explosions! - by Twitchez - 04-15-2012, 09:39 PM
RE: Explosions! - by SilentStriker - 04-15-2012, 09:52 PM
RE: Explosions! - by Twitchez - 04-15-2012, 10:09 PM
RE: Explosions! - by Your Computer - 04-15-2012, 10:19 PM
RE: Explosions! - by palistov - 04-15-2012, 10:25 PM
RE: Explosions! - by Twitchez - 04-15-2012, 10:49 PM
RE: Explosions! - by DRedshot - 04-15-2012, 10:58 PM
RE: Explosions! - by Twitchez - 04-15-2012, 11:03 PM



Users browsing this thread: 1 Guest(s)