Thread: Suggestion!
View Single Post
  #13  
Old 07-13-2007, 02:50 AM
Twinny Twinny is offline
My empire of dirt
Twinny's Avatar
Join Date: Mar 2006
Location: Australia
Posts: 2,422
Twinny is just really niceTwinny is just really nice
Send a message via AIM to Twinny
Quote:
Originally Posted by Gambet View Post
It returns an object but it's unecessary considering you don't need the object to be returned in this case to access the function. You can call the database directly via obj.function();
Which in the end is no different to doing obj.var since the language needs to find the object and return it anyways. In the end, findnpc() allows for a certain level of self documentation. It doesn't effect efficiency though.
Reply With Quote