Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Tech Support (https://forums.graalonline.com/forums/forumdisplay.php?f=7)
-   -   weaponorder.. order (https://forums.graalonline.com/forums/showthread.php?t=65739)

Riot 04-30-2006 12:16 AM

weaponorder.. order
 
Quote:

Originally Posted by GraalBible
weaponorder=comma seperated list of weapon names

Specifies the order in which the NPC weapon scripts will be sent to the client upon connection. This can be used to ensure that the inventory script that disables the Q menu will be sent first, for example. First, all weapons in this list will be sent in order, then all unlisted weapons.

I was under the impression that weapons listed will be sent in the order listed, for example:
weaponorder=weapon1,weapon2

Would load weapon1 then weapon2, but in my tests it is going backwards, weapon2 then weapon1.

I needed the "-System" weapon to load before the "*Events System" so I put weaponorder=-System,*Events System, however it was always loading the *Events System first, until I reversed the order then it loaded properly.

I'm assuming its a bug since normal npcs load before these:
HTML Code:

Guild/Test load
-System load
*Events System load

Guild/Test is not inside weaponorder while the other two are (this is an echo from onCreated())

Riot 05-23-2006 03:17 AM

Any information would be nice...


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

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