Thread: getplayer
View Single Post
  #10  
Old 11-28-2005, 12:47 AM
CheeToS2 CheeToS2 is offline
That Guy
CheeToS2's Avatar
Join Date: Dec 2001
Location: Seattle, WA
Posts: 2,528
CheeToS2 will become famous soon enough
Send a message via AIM to CheeToS2
Quote:
Originally Posted by Stefan
findplayer/getplayer are quite fast though May be some mod should delete/edit the posts which contain all that bad code x-x
I am curious; if you call findplayer() multiple times for the same person, will there be any difference than when you store the result in an object? I'm guessing there is, but I want to know for sure. Example:

Would
plyr = findplayer("Stefan");
plyr.rupees++;
plyr.bombs++;

be faster than

findplayer("Stefan").rupees++;
findplayer("Stefan").bombs++;

The first looks nicer anyway
__________________

Reply With Quote