Jump to content
Sign in to follow this  
Flux87

Trigger vs nearEntities performance

Recommended Posts

I would like to know, if its possibly faster to create a trigger over a marker, with activation by anybody, and than to call list on it to get all units, instead of using nearEntities for every marker.

I think the engine will handle triggers internally, so it would be much faster and maybe done in one loop. And whats the better approach, to do check nearEntities for all areas, or to loop through all players (as i only need them) and check if they intersect the marker? Does anybody have experience with that?

Share this post


Link to post
Share on other sites

Did you get anywhere with testing this? I had a similar dilemma and went for triggers. I guess that nearEntities would introduce some differences in the approach.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×