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 How to do flying body ?
flamez3 Offline
Posting Freak

Posts: 1,281
Threads: 48
Joined: Apr 2011
Reputation: 57
#2
RE: How to do flying body ?

I am going to answer this question...No one answer with a negative response after that...k?

void OnStart()
{
AddEntityCollideCallback("Player", "ScriptArea_1", "FlyingBody", true, 1);
}

void FlyingBody(string &in asParent, string &in asChild, int alState)
{
AddPropImpulse("nameofcorpse", afX, afY, afZ, "world");
}

afX - direction along the X-axis
afY - direction along the Y-axis
afZ - direction along the Z-axis

02-10-2012, 06:45 PM
Find Reply


Messages In This Thread
How to do flying body ? - by EpicLisbe - 02-10-2012, 06:41 PM
RE: How to do flying body ? - by flamez3 - 02-10-2012, 06:45 PM
RE: How to do flying body ? - by EpicLisbe - 02-10-2012, 06:47 PM
RE: How to do flying body ? - by flamez3 - 02-10-2012, 06:48 PM
RE: How to do flying body ? - by JenniferOrange - 02-11-2012, 02:20 AM
RE: How to do flying body ? - by Havi - 02-11-2012, 10:46 AM
RE: How to do flying body ? - by flamez3 - 02-11-2012, 10:52 AM
RE: How to do flying body ? - by Havi - 02-11-2012, 04:05 PM



Users browsing this thread: 1 Guest(s)