Packaged npcdesc.cfg issues...
Posted: Tue May 06, 2008 9:26 am
Why does it automatically append the package name to the npctemplate of an npc? Can this be removed?
Or is there a really good reason?
I rest my case, lol.
And yes, I've tried adding the package brackets :pkgname: to the npcdesc entry for the npc and POL still appends the brackets so it winds up double.
Or is there a really good reason?
Code: Select all
npc := (Packaged npc.)
var npcdesc_cfg := ReadConfigFile(":*:npcdesc");
var npc_entry := npcdesc_cfg[npc.NPCTemplate];
And yes, I've tried adding the package brackets :pkgname: to the npcdesc entry for the npc and POL still appends the brackets so it winds up double.