Full Version : Proper Syntax for COLLECTNAMED?
xmlspawner >>Q&A >>Proper Syntax for COLLECTNAMED?


<< Prev | Next >>

Discord- 07-04-2006
I have tried about every way I can think of to call for a special named item with the COLLECTNAMED objective, and no matter how I arrange the itemname,customname and amount I always seem to get it wrong.

It is a basket - named Herb Basket and I only need one.

sad.gif help?


ArteGordon- 07-04-2006
the syntax is

COLLECTNAMED,itemname[,itemtype][,count][,proptest]

so you would use

COLLECTNAMED,Herb Basket,basket

Discord- 07-05-2006
When I set it up that way I get teh following in my questlog:


Collect basket 1(s) named basket (Herb Basket Left)


I have rearranged the pieces a bunch of ways and cannot get it to say collect basket 1(s) named Herb Basket (1 left)

Im not sure what the problem is.

ArteGordon- 07-05-2006
sorry, that is a formatting bug in XmlQuestHolderGumps.cs. It only affects the display so you can temporarily get around it by specifying a description string explicitly. The objective will still be handled correct,it just isnt being displayed properly.

I have posted a fix in beta_20_v313.zip

Discord- 07-05-2006
QUOTE
so you can temporarily get around it by specifying a description string explicitly


How would that work? I know I ask alot of questions, but Im such a noob at all this spawner work.

Thanks.

ArteGordon- 07-05-2006
QUOTE (Discord @ July 05, 2006 12:40 pm)
QUOTE
so you can temporarily get around it by specifying a description string explicitly


How would that work? I know I ask alot of questions, but Im such a noob at all this spawner work.

Thanks.

you can set the Description1, Description2, etc. properties to override the default descriptions of the quest objectives. Like

questholder/name/blah/objective1/COLLECTNAMED,Herb Basket,basket/description1/Seek out and collect the Herb Basket.

and then in the objective description you will see in the quest gump will be

Seek out and collect the Herb Basket.

instead of the default objective description.

Discord- 07-05-2006
Perfect! Thank you Arte.