Raised This Month: $ Target: $400
 0% 

measure jumping distance, possible??


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Twilight Suzuka
bad
Join Date: Jul 2004
Location: CS lab
Old 02-16-2005 , 11:02  
Reply With Quote #6

better yet, use register_touch for a player, and *. When they jump, catch using pre_think, it registers HL time (get_hltime() ), and then when they laand, by the touch, it compares the two, makes sure it isnt like a frame (which means you simply havent jumped yet), and then marks the spot with a simple glowing entity, or better yet, effect.

And then it gets the distance between those points (which yo'd store), and outpu thow far you jumped.

Simple really.
__________________
Twilight Suzuka is offline
Send a message via AIM to Twilight Suzuka Send a message via MSN to Twilight Suzuka
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 19:20.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode