Go Back   EQEmulator Home > EQEmulator Forums > Quests > Quests::Q&A

Quests::Q&A This is the quest support section

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #13  
Old 02-23-2012, 10:14 AM
Luccian
Sarnak
 
Join Date: Sep 2009
Posts: 32
Default

Quote:
Originally Posted by sorvani View Post
That is what chooserandom does.

quest::ChooseRandom(1,3,11,13,27,62)

Edit to clarify: If you do not want to set the weapon yourself but still use the plugin, I would use ChooseRandom and then pass the same result into the plugin instead of a range.
Personally I would prefer not to use the RandomWeapons plugin all together. Its an excellent tool, however I feel I have more control if I were able to just ChooseRandom. I just dont know how to use it to select a primary/ sec item.

I thought the entry was quest::wearchange(7,(weapon#)), where I could make the weapon number a chooserandom, however I was mistaken.

Quote:
Originally Posted by Luccian
# Random Weapons: Revamped Old Weapons- 2 Handed Sword, Longsword, Dagger, Nail Board, Broken Bottle
my $randomweapon=quest::ChooseRandom(10648,10649,1065 0,10688,10692);

#Weapon1
quest::wearchange(7, $randomweapon);

#Weapon2
quest::wearchange(8, $randomweapon);
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 04:17 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3