Raised This Month: $ Target: $400
 0% 

find_sphere_class, how speccialy does it work?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
grs4
Senior Member
Join Date: Dec 2010
Location: Poland
Old 01-30-2017 , 06:16   find_sphere_class, how speccialy does it work?
Reply With Quote #1

Hi,
I did not found on internet information about, how entities in
Code:
find_sphere_class(aroundent, const _lookforclassname[], Float:radius, entlist[], maxents, const Float:origin[3])
entlist[] are returned.

I mean, if I will set radius to 1000.0, Do entities in variable entlist will be ordered by nearest?

eg. we have 5 entities in 1000.0 range from entity 50. So, entlist[0] will return nearest ent?
grs4 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 20:55.


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