Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Development > Archive::Quests

Archive::Quests Archive area for Quests's posts that were moved here after an inactivity period of 90 days.

Reply
 
Thread Tools Display Modes
  #1  
Old 10-05-2004, 10:45 PM
Cutter
Sarnak
 
Join Date: Sep 2004
Posts: 85
Default Random Rewards

Is there a way to make a quest npc give random rewards upon quest completion in 5.7DR6 and does DING work in that version.. I know it was talked about before.. Any help on this would greatly be appreciated.. also In future releases a function to call sound would be awesome (i know this is not a request forum but figured i would add that in there.. didnt want to make a separate thread just for that)
Reply With Quote
  #2  
Old 10-06-2004, 07:33 AM
m0oni9
Hill Giant
 
Join Date: Dec 2003
Posts: 166
Default

You could probably try something along the lines of:
Code:
@items = (123, 456, 789);

srand();
quest::summonitem($items[rand() * @items]);
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 07:22 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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3