Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   New NPC Control (https://forums.graalonline.com/forums/showthread.php?t=60379)

Ajira 08-17-2005 05:42 AM

o.o
Very nice, but are those actual Gui Tabs?

Matt 08-17-2005 05:53 AM

Quote:

Originally Posted by Ajira
o.o
Very nice, but are those actual Gui Tabs?

I think he customized that himself for himself.

Maniaman 08-17-2005 10:38 PM

Quote:

Originally Posted by Ajira
o.o
Very nice, but are those actual Gui Tabs?

Yes. There is a GuiTabCtrl or somehting like that now.

Ajira 08-19-2005 09:45 PM

Quote:

Originally Posted by Maniaman
Yes. There is a GuiTabCtrl or somehting like that now.

Nice, Stefan finally added it. =D

ForgottenLegacy 08-20-2005 11:03 PM

GuiTabCtrl? Anyone got the specs on that, such as the functions/commands/whatever?

Ajira 08-21-2005 05:50 AM

Quote:

Originally Posted by ForgottenLegacy
GuiTabCtrl? Anyone got the specs on that, such as the functions/commands/whatever?

Quote:

Originally Posted by scriptfunctions_client.txt

GuiTabCtrl (GuiControl):
iconheight - integer (read only)
iconwidth - integer (read only)
leveling - integer
maxvisibletabs - integer (read only)
selected - object (read only)
tabwidth - integer
addrow(int, str) - returns object - the added row
clearrows()
clearselection()
findtext(str) - returns integer - row index
findtextid(str) - returns integer - row id
getrowatpoint(int, int) - returns integer - row index
getrowidatpoint(int, int) - returns integer - row id
getrownumbyid(int) - returns integer
getselectedid() - returns integer - row id
getselectedrow() - returns integer - row index
getselectedtext() - returns string
insertrow(int, int, str) - returns object - the inserted row
isidselected(int) - returns boolean
isrowselected(int) - returns boolean
makevisible(int)
makevisiblebyid(int)
removerow(int)
removerowbyid(int)
rowcount() - returns integer
seticonsize(int, int)
setselectedbyid(int)
setselectedrow(int)

Also, ControlName.onSelect(tabid, tabtext, tabrow);

ForgottenLegacy 08-21-2005 09:04 AM

Liek omigosh. Thanks a bunch dude!

calani 08-24-2005 09:57 PM

o.o spam?
that's a long quote, aji. yikes.

glad ya got your GuiTabCtrl working though =]

ForgottenLegacy 08-24-2005 10:07 PM

Quote:

Originally Posted by calani
o.o spam?
that's a long quote, aji. yikes.

glad ya got your GuiTabCtrl working though =]

No, GuiTextListCtrl. GuiTabCtrl is v4 only z-z

calani 08-24-2005 10:09 PM

oh, that's right.
my mistake.

napo_p2p 09-13-2005 08:06 AM

I was able to make one, but it doesn't have the 'sekc' folder icons (just the defaults +'s) on the left, and my text editing box is harder on the eyes :\ .

ForgottenLegacy 09-14-2005 12:15 AM

Quote:

Originally Posted by napo_p2p
I was able to make one, but it doesn't have the 'sekc' folder icons (just the defaults +'s) on the left, and my text editing box is harder on the eyes :\ .

PHP Code:

<Source>.<Location>.icon.drawImageRectangle(int,int,str,int,int,int,int); 

Source would be the name of the object, location would be the line number. That'll give you those fancy folder icons. I forget what each param does, but 'str' is the imagename, obviously.

Also, use profiles. I made my own 'TGCBlue_' profile set that uses those blue image thingeys, which I am recolouring to be a variety of designs and colours. That'll get rid of the strain on the eyes.

Ajira 09-14-2005 12:30 AM

Quote:

Originally Posted by ForgottenLegacy
Also, use profiles. I made my own 'TGCBlue_' profile set that uses those blue image thingeys, which I am recolouring to be a variety of designs and colours. That'll get rid of the strain on the eyes.

The profiles for the Blue gfx are pre-made and come in the client.

napo_p2p 09-14-2005 02:08 AM

Quote:

Originally Posted by Ajira
The profiles for the Blue gfx are pre-made and come in the client.

Yes, they all start with 'GuiBlue'.

petro1212 09-14-2005 09:14 AM

mmm.... this is more of a "fashionality" question?
Why doesn't anyone bother to make a "rc" thats processed within the game screen? (This is more about looks.. but you get the point, this could be a steps towards it finaly) With that I mean totaly processed and not the normal in-game rc ;)

Anyhow tought about being able to edit (not only add) npcs to a level (putnpc2)? If not making a seperate tab for them would be nice. Just so you know that their there (wouldn't be to hard)


All times are GMT +2. The time now is 02:13 AM.

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