Full Version : Multi Objective Quest Issues...
xmlspawner >>Q&A >>Multi Objective Quest Issues...


<< Prev | Next >>

morganm- 01-07-2007
It's me again... tongue.gif Trying my hand at these quests now. I've read the tutorials on the forums and linked externaly here. Great help they have been; created one similar to Eymerich/DrussRob's using their tutorial and it works great with no errors.

Now I tried doing that Intermedium Quest Tutorial by Vladimir here http://xmlspawner.15.forumer.com/index.php?showtopic=520 I really didn't want to setup the whole quest exactly how he has it. I used most of it to create what I wanted but I'm having issues with getting Objectives in the QuestHolder given by the first NPC to be Completed by the next NPC. Basicly I can't get the second NPC to update the QuestHolder.

After some conversation with the first NPC you get the QuestHolder and that NPC works great. Now you go to the second NPC and when it sees you have the correct QuestHolder it triggers (works fine). After you reply Yes to the first trigger text I have an Action specified... SETONTHIS,A Beggars Plea,questholder/Completed1/True but it will not update that Completed1 property on the player's QuestHolder.

Wish I had access to the server and could post you the whole XML file but I cant. I can only save the files through the XML Edit GUI and call them back using XML spawners. Thanks!

ArteGordon- 01-07-2007
use the SET instead of the SETONTHIS keyword.

SETONTHIS will refer to the spawner when you use it in a spawn entry, or to the NPC when used in an xmldialog.
SET is used to refer to arbitrary objects by name and type.

morganm- 01-08-2007
QUOTE (ArteGordon @ January 07, 2007 09:34 pm)
use the SET instead of the SETONTHIS keyword.

SETONTHIS will refer to the spawner when you use it in a spawn entry, or to the NPC when used in an xmldialog.
SET is used to refer to arbitrary objects by name and type.

Ok thanks for clearing that up.

So in the Action field I put in SET,A Beggars Plea,QuestHolder/Completed1/True and it still will not update the questholder in the player's back pack. I've tripple checked speling and that is indeed the name of the questholder.

I tried SET/ instead of SET, and it crashed the server as soon as I triggerd that Action. OOPS! =)

ArteGordon- 01-08-2007
To refer to the specific questholder that the player is carrying, use the SETONCARRIED keyword instead.

SETONCARRIED,A Beggars Plea,QuestHolder/Completed1/True

SET will just find the first object with that name and type, so if you have more than one floating around it could end up modifying one of the others.

I'll check on that crash.

(edit)

found the bug that caused the crash. Fixed for the next release.

morganm- 01-09-2007
Great, I'll use that SETONCARRIED and try that tonight. Thanks Arte!!!

Glad you tracked down that crash bug biggrin.gif