Detect entity in water
Like the title said, I want to know how to detech any entity if it in water or not.
Please help Thanks:) |
Re: Detech entity in water
|
Re: Detech entity in water
Tested in as_oilrig. The code only works for player:(
|
Re: Detech entity in water
Play with pev_waterlevel. I checked SmokeGrenade's decompiled code and it check if it's underwater with the waterlevel entvar :mrgreen:
|
Re: Detech entity in water
Quote:
Kinda weird 'cause it only return value 0 and 3. Guess the other values are only for player:) |
| All times are GMT -4. The time now is 12:55. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.