is_in_viewcone help
ok well my issue is that it does do everything in the right direction but it will also effect those who cant be seen. for example i can hide behind a wall but if this is put into check it would return true when they cant really see me but are aimin at my direction, anyway to fix this?
|
Re: is_in_viewcone help
You can also do an is_visible() <engine> check. Though, I don't think there is a 100% accurate way of determining whether a player is visible or not. The problem happens when a portion of a players model (arms\hands\feet) is visible but is_visible() will return as not being visible.
|
Re: is_in_viewcone help
would this also work http://forums.alliedmods.net/showpos...10&postcount=3
|
Re: is_in_viewcone help
That will do the same thing as the engine function is_visible. You will get the same result that I mentioned above. anakin_cstrike mentions it at the bottom of the post.
|
Re: is_in_viewcone help
You can try Ham_FVisible.
Also, you can try checking the player's bounding box to see if it is visible like in "Peeping Tom". It checks:
|
| All times are GMT -4. The time now is 02:23. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.