I have a quest holder with objective1
GIVE,Liam,simplenote,2,label1=List
I have simple note wit label1=List and NPC with name=Liam
Why I cant pull down this simple note on that NPC?!?!
Maeby I have some bug in the scripts?:/
is Liam an xmlquestnpc, or one of the talkingbasecreatures, talkingbasevendors, or talkingbaseescortables?
Those are the only npcs that will accept given items by default.
You can make normal vendors or creatures accept them by adding this to the basevendor or basecreature scripts
CODE |
public override bool OnDragDrop( Mobile from, Item item) { return XmlQuest.RegisterGive(from, this, item); }
|
Thx Arte!
Liam was a normaln npc;)
CODE |
public override bool OnDragDrop( Mobile from, Item item) { return XmlQuest.RegisterGive(from, this, item); }
|
When I tried to add that into basevendor.cs I got an error that said there was already an ondragdrop method already.
Just adding that to basecreature.cs should be enough. Dont bother with basevendor.cs. BaseVendors are derived from basecreatures, so if you mod basecreatures, then it will apply to basevendors as well.