View Single Post
  #8  
Old 06-10-2005, 10:54 PM
Evil_Trunks Evil_Trunks is offline
Evil
Evil_Trunks's Avatar
Join Date: Dec 2004
Posts: 391
Evil_Trunks is on a distinguished road
I do not think using the this. prefix will cause a speed problem. Perhaps the mystery person believes using this. is a waste of memory, because it saves a loop variable to each individual NPC for no reason.

The only problem from using i is especially apparent in GS2. If you are calling a function inside another function, and they are both using the i loop variable, this will screw up the scripts. I think temp.i is better to use for this reason. I would like someone to explain the temp. prefix further though.
__________________

Reply With Quote