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
  #2  
Old 02-19-2012, 03:09 PM
Luccian
Sarnak
 
Join Date: Sep 2009
Posts: 32
Default

So I kinda worked up something I feel it will/should resemble for a particular instance for me. I just don't know what to put where I placed "???"

Code:
#By: Luccian
#This script will be used to have variable spawn appearances of NPCs. Through class, texture, race, wep1, and wep2.

sub EVENT_SPAWN
{
# Random Races: Human, Barbarian, Erudite, Wood Elf, High Elf, Dark Elf, Half Elf Dwarf
#             : Troll, Ogre, Halfling, Gnome, Iksar, Vah Shir, Guktan, Drakkin
	my $randomrace=quest::ChooseRandom(1,2,3,4,5,6,7,8,9,10,11,12,128,130,330,522);
	quest::???($randomrace);

# Random Classes: Warrior, Cleric, Paladin, Ranger, Shadow Knight, Druid, Monk, Bard, Rogue
#               : Shaman, Necromancer, Wizard, Magician, Enchanter, Beastlord, Berserker
	my $randomclass=quest::ChooseRandom(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16);
	quest::???($randomclass);

# Random Texture: Cloth, Leather, Chain, Plate
	my $randomtexture=quest::ChooseRandom(0,1,2,3);
	quest::???($randomtexture);

# Random Weapons: Revamped Old Weapons- 2 Handed Sword, Longsword, Dagger, Nail Board, Broken Bottle
	my $randomweapon=quest::ChooseRandom(10648,10649,10650,10688,10692);

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

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

Thread Tools
Display Modes

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