Ideas on handling large amounts of ID checking on functions such as OnPlayerPickup/OnPlayerEnter?
#1

So I have 500 houses, 750 hidden presents, 10 healing zones, 5 safe zones, and a whole bunch of miscellaneously coded areas I check on these functions, I'm wondering if there's an efficient way besides if checking against pickupid/areaid as I can foresee lag coming of this as sometimes it has to check over 2000 IDs to find the place the player entered and respond accordingly.


tl;dr, better way than for and if checking IDs on large functions?
Reply


Messages In This Thread
Ideas on handling large amounts of ID checking on functions such as OnPlayerPickup/OnPlayerEnter? - by Hoborific - 24.01.2014, 10:07
Re: Ideas on handling large amounts of ID checking on functions such as OnPlayerPickup/OnPlayerEnter? - by Mauzen - 24.01.2014, 10:26

Forum Jump:


Users browsing this thread: 1 Guest(s)