Raised This Month: $ Target: $400
 0% 

right above water


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Voi
Veteran Member
Join Date: Sep 2006
Location: Gdansk, Poland
Old 05-26-2010 , 00:10   Re: right above water
Reply With Quote #5

Quote:
Originally Posted by Emp` View Post
use find_ent_by_class(iIndex, const szClass[]) with "func_water" and compare the info_target's origin to the mins/maxs of the func_water to see if it is corresponding func_water entity.
This isn't working when you have func_water based on multiple brushes(for example de_aztec). I would rather need to check touch at one frame only. I would register touch, but i don't need to check touch every frame, so it would be a waste of resources. I would need something like:

Code:
get_entity_touching(ent, classname)
__________________

Last edited by Voi; 05-26-2010 at 00:27.
Voi 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 05:17.


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