Raised This Month: $ Target: $400
 0% 

Detecting Ground Touch


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
fezh
Veteran Member
Join Date: Dec 2008
Location: BANNED
Old 06-28-2010 , 21:55   Re: Detecting Ground Touch
Reply With Quote #2

PHP Code:
if ( peviEntpev_flags ) & FL_ONGROUND )
{
    
// code 

You can also use engine:
PHP Code:
entity_get_intiEntEV_INT_flags ) & FL_ONGROUND
And take this in account:
PHP Code:
const FL_ONGROUND2 = (FL_CONVEYOR|FL_ONGROUND|FL_PARTIALGROUND|FL_INWATER|FL_FLOAT); 
__________________
"There is no knowledge, that is not power"
fezh is offline
 



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 14:44.


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