Quote:
Originally Posted by Emp`
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)
__________________