Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Folders in Inventory (https://forums.graalonline.com/forums/showthread.php?t=134266688)

E_Man 06-20-2012 08:06 PM

Folders in Inventory
 
How do you a weapons/item in your inventory into a folder, I've seen it in servers, and I'm wondering how to do it offline.


(Also I'm wondering if there is a maximum amount of forums you can create?)

xXziroXx 06-20-2012 08:09 PM

You just name weapons with a header followed by a slash, for example Weapon/Name.

E_Man 06-20-2012 08:28 PM

Quote:

Originally Posted by xXziroXx (Post 1697868)
You just name weapons with a header followed by a slash, for example Weapon/Name.

Wow, I can't believe it's that easy, I thought you need to make a script for the folder itself.

callimuc 06-20-2012 08:44 PM

You can also make it
-Weapon

So its invisible in the inventory. Its mostly used for system scripts or whatever. Just things which are not belonged to be fired (with weaponfired). Having a star (*) infront of it will make it not deleteable. Else you can delete weapons by pressing the "del" key. Mostly used for starter weapons or main weapons (like on UN the warp scroll I gues)

E_Man 06-20-2012 09:05 PM

Quote:

Originally Posted by callimuc (Post 1697878)
You can also make it
-Weapon

So its invisible in the inventory. Its mostly used for system scripts or whatever. Just things which are not belonged to be fired (with weaponfired). Having a star (*) infront of it will make it not deleteable. Else you can delete weapons by pressing the "del" key. Mostly used for starter weapons or main weapons (like on UN the warp scroll I gues)

Cool, this can help with my offline commands script to make it invisible. I never knew you could delete items though.

greggiles 06-21-2012 03:43 PM

Anyone know where I can find script to default inventory but in GS2?

That'd be great.

callimuc 06-21-2012 03:57 PM

I don't think that the "default" scripts are released anywhere except an old version of the client RC.

greggiles 06-21-2012 04:00 PM

Quote:

I don't think that the "default" scripts are released anywhere except an old version of the client RC.
Oh dang. I wana see how they made there GUI selection. Like the 'red' that highlights the weapon and you move with arrow keys.

cbk1994 06-21-2012 04:10 PM

Quote:

Originally Posted by greggiles (Post 1697957)
Oh dang. I wana see how they made there GUI selection. Like the 'red' that highlights the weapon and you move with arrow keys.

As far as I know, the inventory is not scripted; it's part of the client and has been the same for many years.

Tricxta 06-22-2012 06:35 AM

Folders wont work offline in the default inventory, doesn't stop you from coding your own however >=)


All times are GMT +2. The time now is 08:43 AM.

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