Well, what I meant with 100 instances of the script was that there were hundred different objects running a distance check to objects in the array...
When a match based on certain criteria is found the loop is exited and the rest of the script is run and terminated...
5-10 FPS drop is not bad because probably that many objects would never be used in one mission...
In this case there would not be any use for the pointer stuff as in any case you would need to scan through the array element by element, with or withot pointers... You don't know the objects beforehand, and
any of them can fit the certain criteria at any point in time...
This was just premilinary test because that array to be scanned can easily be like 100 elements big, probably usually even 200-300 elements, so a loop going through all those elements is way too slow method and it kills the whole purpose of the script in question...
Of course like I said this pointer stuff is highly strange venue for me so I may have misunderstood some possibilities for it's usage...