Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   gui's (https://forums.graalonline.com/forums/showthread.php?t=56015)

xAndrewx 11-12-2004 08:01 PM

gui's
 
I had an idea of making a GUI using strings and variables to hold the value of the gui, is this a good idea or is it crap? :o

Kaimetsu 11-12-2004 08:10 PM

What else could you use?

xAndrewx 11-12-2004 08:11 PM

Well, I could do a GUI with ### showimgs.

Dach 11-12-2004 08:21 PM

Depends on how much scripting you will save yourself by doing so.

When using strings just be careful not to try and manipulate them ititerively much. Although you're just storing data, so no real harm there.

xAndrewx 11-12-2004 08:22 PM

Hrmm, It wouldn't matter if I did use a string to store the values.. I'd still have to use the same number of showimg's wouldn't I?

Kaimetsu 11-12-2004 08:37 PM

You are talking about generalising the showimg process as a single function and supplying it with uniformly-formatted data to tell it how and where to draw the GUI components?

xAndrewx 11-12-2004 08:41 PM

Yeah, but then i'd be adding the same number of showimgs, right?

Kaimetsu 11-12-2004 08:49 PM

Quote:

Originally Posted by xAndrewx
Yeah, but then i'd be adding the same number of showimgs, right?

Showimg would be called as many times, but you wouldn't have as many individual calls to the function.

xAndrewx 11-12-2004 09:03 PM

Ah yeah, true. I'd just be using the sub commands, thanks :)


All times are GMT +2. The time now is 06:32 AM.

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