Raised This Month: $ Target: $400
 0% 

listing all entity in current map


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
VEN
Veteran Member
Join Date: Jan 2005
Old 11-08-2007 , 09:43   Re: listing all entity in current map
Reply With Quote #4

Use of engfunc(EngFunc_NumberOfEntities) would be incorrect in this case. You should use global_get(glb_maxEntities) instead of that.
Let's say that you have ent1, ent2 and ent3, then if you would remove the second one number of entities would be 2 and your method will not detect the last one.
VEN 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 01:20.


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