Raised This Month: $ Target: $400
 0% 

Best player in viewcone


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
MrDev
Member
Join Date: Sep 2005
Old 12-27-2006 , 10:43   Re: Best player in viewcone
Reply With Quote #9

Thanks for the response. This would select the player closest to me IN my viewcone WHEN we can trace a line to him.. which is almost what i want. However if the player has 3 players in line of sight (viewcone+traceline) it should be obvious to him which one will be the target of the spell. The troubles im having is selecting the best target, i.e the target closest to his aim. I know how to do in teory but i can't get the code to work properly.

I see you're edited your post - And yes that's what i want, but im not sure what playera,b is?
MrDev 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 22:24.


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