I am using RunUO 2.2, and trying to attach specific NPC speech files to an XML spawner. For the record, I have read through the XML tutorial on spawning a talking NPC.
Thus far I have been able to create the NPC file (BeggarSpeech) and several entries using [xmledit. I saved the the file in the Attachments folder. I then created an XMLspawner, and entered the following (according to the tutorial): beggar/ATTACH/xmldialog,BeggarSpeech.
This successfully spawned the npc, and attached an xmldialog to it, but the file is blank. I noticed that I am able to enter any file name after xmldialog, and a blank xmldialog will be attached.
My question is, how can I attach an existing npc file with existing entries to a spawner? Thanks in advance for any help.
Thus far I have been able to create the NPC file (BeggarSpeech) and several entries using [xmledit. I saved the the file in the Attachments folder. I then created an XMLspawner, and entered the following (according to the tutorial): beggar/ATTACH/xmldialog,BeggarSpeech.
This successfully spawned the npc, and attached an xmldialog to it, but the file is blank. I noticed that I am able to enter any file name after xmldialog, and a blank xmldialog will be attached.
My question is, how can I attach an existing npc file with existing entries to a spawner? Thanks in advance for any help.