View Single Post
Old 03-15-2005, 01:46 PM   #4 (permalink)
ArteGordon
Forum Master
 
Join Date: Aug 2003
Posts: 5,688
Default

Here is something to try for dispensing your rewards. It is a questnpc that will hand out rewards based upon player dialog.
I set it up to hand out a 10K bankcheck and a random lev 4-5 piece of magical armor, weapon, or jewelry based upon what the player asks for, but you could set it up to give out whatever you wanted.

Once the reward is given it also uses the XmlQuestAttachment to flag players as having completed the quest with an expiration time that you can set (I made it 10 hours), to limit how frequently they can do the quest and receive a reward.

To try it out, just drop the .npc file either in your main RunUO installation directory, or in a folder name XmlQuestNPC in your main RunUO installation directory.

I also added the spawner to load the npc.
Attached Files
File Type: zip questmaster.zip (1.9 KB, 130 views)
__________________
The first line of the first rule in the forum rules and guidelines "Be respectful of others. "

For questions, information, and support for XmlSpawner and its addons, visit the
XmlSpawner Support Forum
ArteGordon is offline