Raised This Month: $ Target: $400
 0% 

Hook an entity's touch of ground


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ezio_auditore
Senior Member
Join Date: May 2013
Old 11-03-2014 , 12:32   Re: Hook an entity's touch of ground
Reply With Quote #1

Quote:
Originally Posted by KliPPy View Post
I think you can do
PHP Code:
register_touch("your_entity""*""your_touch_func"); 
to register touch between your and any other entity.
I know how to register the touches of an entity, I was asking how can I hook its touch with ground.
And about
Code:
//FL_ONGROUND if (pev(id, pev_flags) & FL_ONGROUND) {...}
I know this method. But this is meant for the players only. Does it have anything to do with entities?
__________________

Last edited by ezio_auditore; 11-03-2014 at 12:36.
ezio_auditore is offline
Send a message via Skype™ to ezio_auditore
Reply



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 17:40.


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