EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Archive::Quests (https://www.eqemulator.org/forums/forumdisplay.php?f=624)
-   -   Random Rewards (https://www.eqemulator.org/forums/showthread.php?t=16205)

Cutter 10-05-2004 10:45 PM

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)

m0oni9 10-06-2004 07:33 AM

You could probably try something along the lines of:
Code:

@items = (123, 456, 789);

srand();
quest::summonitem($items[rand() * @items]);



All times are GMT -4. The time now is 08:55 AM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.