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

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

Reply
 
Thread Tools Display Modes
  #16  
Old 02-23-2012, 07:39 PM
Luccian
Sarnak
 
Join Date: Sep 2009
Posts: 32
Default

Quote:
Originally Posted by Luccian View Post
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 joligario
Is that vBulletin or is there really a space in 10650 weapon?
Quote:
Originally Posted by Harcourt
No space, probably just a typo.
This small amount of chat made me think I mistakenly put a space in my initial submission, and found that I had infact done that. Which caused the wearchange quest to no work correctly. SO all in all, I got the last answer I was looking for =)

Thanks!! Now I can randomize the npcs, textures, races, genders and even select certain weapons to apply based on location. You're all a huge huge help.
Reply With Quote
  #17  
Old 02-23-2012, 07:42 PM
Luccian
Sarnak
 
Join Date: Sep 2009
Posts: 32
Default

Just for closure, the final result I used was this. In the future if anyone has questions similar to mine they could always save the trouble and check out here!

Code:
sub EVENT_SPAWN
{
quest::settimer("feature",1);
}

sub EVENT_TIMER
{
	if ($timer eq "feature")
	{
		quest::stoptimer("feature");
		my $randomweapon=quest::ChooseRandom(10648,10649,10650,10688,10692);
			quest::wearchange(7,$randomweapon);
			quest::wearchange(8,$randomweapon);
		plugin::SpawnDynNPC(quest::ChooseRandom(1,2,3,4,5,6,7,8,9,10,11,12,128,130,330,522),quest::ChooseRandom(1,2,3),quest::ChooseRandom(0,1));
		plugin::RandomFeatures($npc);
	}
}
Reply With Quote
Reply


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 08:24 PM.


 

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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3