[HELP] Detect Players in Front
Is there any way to detect other players or certain entities in front of the player like get_user_aiming but with an increased value on the Y and Z vectors?
For example get_user_aiming detects the target within the red square, i want a method to detect the tergets withing the green square http://i61.tinypic.com/2weyjvs.jpg |
Re: [HELP] Detect Players in Front
|
Re: [HELP] Detect Players in Front
thanks, but this detects all the entities in the VOF, i want to detect and retrieve the index of the entities only from the green square on a distance of 128...
so bassicaly, i want to detect the entities in a rectangle with definable vector value in the direction of the aim, or a in cone with definable degrees and distance from the user's origin i also want to ignore entities that are not visible at all, for example entities behind a wall |
| All times are GMT -4. The time now is 22:15. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.