18.10.2010, 18:04
My gamemode features lots of radioactive areas, sometimes very small ones.
I don't think 100-150 areas with radiation is an exaggeration - so how can I check the players proximity to all of these points the fastest?
I mean, one timer that has to check for this many points and add a certain amount of radiation every second, that'll be lagging, won't it?
Any help on this would be appreciated. Also any faster alternatives than IsPlayerInRangeOfPoint would be nice.
I don't think 100-150 areas with radiation is an exaggeration - so how can I check the players proximity to all of these points the fastest?
I mean, one timer that has to check for this many points and add a certain amount of radiation every second, that'll be lagging, won't it?
Any help on this would be appreciated. Also any faster alternatives than IsPlayerInRangeOfPoint would be nice.