View Single Post
  #40  
Old 10-09-2007, 12:43 PM
Skyld Skyld is offline
Script-fu
Skyld's Avatar
Join Date: Jan 2002
Location: United Kingdom
Posts: 3,914
Skyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud of
Send a message via AIM to Skyld
Quote:
Originally Posted by zokemon View Post
That's just about convention, really. showimg() is just a shortcut so you don't have to enter a bunch of variable assignments.
showimg() is probably a lot more clearer in scripts, since it is maintaining a certain amount of semantic similarity with old GScript.

As much as anything it seems odd to do with (findimg()) on an object that does not exist yet; you do not instantiate a new player when you do findPlayerByCommunityName() or a new NPC when you do findNPC() and I do not see why images should be any different.
__________________
Skyld
Reply With Quote