Full Version : QuestNPC's
xmlspawner >>XMLSpawner - How do I? >>QuestNPC's


<< Prev | Next >>

the mindboggles- 10-30-2008
Hi all,

Does anybody know if you can drop items on a QuestNPC, for example the NPC asks the player to go KILL a mob, and return it's head to him. What I would like is for the player to be able to goto the NPC with the head and just drop it on him for the reward.

Thanks in advance

Lichtblitz- 11-01-2008
QUOTE (ArteGordon @ January 30, 2006 11:25 pm)

the syntax for the GIVE quest objective is

GIVE,mobname,itemtype[,count][,proptest]

or

GIVENAMED,mobname,itemname[,type][,count][,proptest]

just specify the name of the npc as well as the name or type of item to be given.

Take a look at the Katar quest example in xmlextras. It uses the GIVENAMED objective.


Note that only NPCs delivered with the XML-Spawner Package (TalkingBaseVendor, TalkingBaseCreature, or TalkingBaseEscortable classes (like the XmlQuestNPC)) will accept items this way and fulfill your quest objective.