View Single Post
  #1  
Old 04-30-2006, 12:16 AM
Riot Riot is offline
Delteria Management
Join Date: Nov 2003
Location: Seminole County, Florida
Posts: 280
Riot is on a distinguished road
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())
Reply With Quote