Full Version : Custom data strings.
xmlspawner >>Q&A >>Custom data strings.


<< Prev | Next >>

Galfaroth- 06-23-2006
Hello I have a problem. Here is my xmlspawner line

talkingbaseescortable/Name/Lester/Destination/Stary Oboz/ConfigFile/"Data/NPC/Lester.npc"/LoadConfig/true

It takes me the error NPC not found. I know this string after ConfigFile is not correct, but how to make it work good?

ArteGordon- 06-23-2006
you cannot use the '/' char in strings unless you use the @ literal-to-end-of-line operator.
But for path names, you can use '\' as the path separator.
Also, when specifying .npc files, you dont need to add the .npc extension.
So this should work

ConfigFile/Data\NPC\Lester/LoadConfig/true


Galfaroth- 06-24-2006
Ok thank you - work very good.