Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Script Help Get entity speed
Adny Offline
Posting Freak

Posts: 1,766
Threads: 6
Joined: Mar 2012
Reputation: 173
#4
RE: Get entity speed

Paul's right, you cannot check an entities speed in a literal sense, but you can gimmick your way around it. You set up 2 areas to collide with the thrown object. When colliding with the first area (closest to the player), start a timer; when the object collides with the 2nd area (destination), use an if/else statement to check the total time that has elapsed, and whether or not it should be faster.

If it was fast enough (/the time was short enough), then you could trigger the script. If not, you could have the object stop/reset the timer when you next interact with it.

Idk, something like that. Good luck.

I rate it 3 memes.
02-06-2013, 09:57 PM
Find


Messages In This Thread
Get entity speed - by FlawlessHappiness - 02-06-2013, 07:46 PM
RE: Get entity speed - by NaxEla - 02-06-2013, 09:34 PM
RE: Get entity speed - by FlawlessHappiness - 02-06-2013, 09:51 PM
RE: Get entity speed - by Adny - 02-06-2013, 09:57 PM
RE: Get entity speed - by FlawlessHappiness - 02-06-2013, 10:01 PM
RE: Get entity speed - by Apjjm - 02-06-2013, 11:36 PM
RE: Get entity speed - by FlawlessHappiness - 02-07-2013, 12:18 AM
RE: Get entity speed - by Your Computer - 02-07-2013, 12:41 AM
RE: Get entity speed - by FlawlessHappiness - 02-07-2013, 07:53 AM
RE: Get entity speed - by Your Computer - 02-07-2013, 11:01 AM
RE: Get entity speed - by MulleDK19 - 02-08-2013, 05:31 PM
RE: Get entity speed - by FlawlessHappiness - 02-08-2013, 05:43 PM
RE: Get entity speed - by MulleDK19 - 02-08-2013, 07:11 PM
RE: Get entity speed - by FlawlessHappiness - 02-08-2013, 07:33 PM



Users browsing this thread: 1 Guest(s)