Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting > Code Gallery
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 01-23-2008, 02:35 AM
Angel_Light Angel_Light is offline
Varia Developer
Angel_Light's Avatar
Join Date: Nov 2005
Location: Knoxville, TN
Posts: 1,684
Angel_Light is on a distinguished road
Send a message via AIM to Angel_Light Send a message via MSN to Angel_Light
Invern is right, showImg(); was made just for compatibility with showimg; GS2 is technically not related to GS1. You should use findImg, it is more object oriented than showImg;
__________________
Deep into the Darkness peering...
Reply With Quote
  #2  
Old 01-23-2008, 07:51 PM
Tolnaftate2004 Tolnaftate2004 is offline
penguin.
Join Date: Jul 2004
Location: Berkeley, CA
Posts: 534
Tolnaftate2004 is a jewel in the roughTolnaftate2004 is a jewel in the rough
Send a message via AIM to Tolnaftate2004
Quote:
Originally Posted by Angel_Light View Post
Invern is right, showImg(); was made just for compatibility with showimg;
No, there never existed anything called showimg(); in GS1; showimg; was retained for backwards compatibility.
Quote:
You should use findImg, it is more object oriented than showImg;
No, these two functions return the same thing. You can't say one is more OO than the other.

But showimg involves no lookup.
__________________
◕‿‿◕ · pfa · check yer syntax! · src

Killa Be: when i got that locker in 6th grade the only thing in it was a picture of a midget useing a firehose :/
Reply With Quote
  #3  
Old 01-23-2008, 11:43 PM
Inverness Inverness is offline
Incubator
Inverness's Avatar
Join Date: Aug 2004
Location: Houston, Texas
Posts: 3,613
Inverness is a jewel in the roughInverness is a jewel in the rough
I seem to recall showtext working clientside only back in the GS1 days.
Quote:
Originally Posted by Tolnaftate2004 View Post
No, there never existed anything called showimg(); in GS1; showimg; was retained for backwards compatibility.

No, these two functions return the same thing. You can't say one is more OO than the other.

But showimg involves no lookup.
Of course there was no showimg() in GS1 as that is a GS2 function equivalent. When the scripting engine reads GS1 script I'm pretty damn sure its just executing the GS2 equivalent of the function which would be showimg().

And how do you mean that showimg() involves no lookup?
__________________
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 12:36 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.