Modding Problem: Result Window
Posted: Wed Oct 22, 2008 10:16 am
Hi, Im having a little problem with my plugin i have been working on for ages.
the npc thanks the pc for completing a quest and gives them a special item starting another quest, it also needs to add topics.
this is what the result window looks like:
journal "entry" 20 - to finish this quest
player->removeitem "item" 1 - so the pc doesnt have the item anymore
additem "item" 1 - to add it to the npcs inventory so she will hold it
player->additem "book" 1 - adds a book to the pcs inventory
journal "entry" 10 - starts a new quest
addtopic "topic" - adds a topic?
addtopic "anothertopic" - adds a topic?
but, when i test the mod, the npc says her line...and NOTHING happens. none of this happens. i looked for typos i might have made by comparing to others i know work (none that add topics, i havnt seen any that do this) it looks like it should work to me. but obviously im wrong.
some help would be appreciated. thanks!!
the npc thanks the pc for completing a quest and gives them a special item starting another quest, it also needs to add topics.
this is what the result window looks like:
journal "entry" 20 - to finish this quest
player->removeitem "item" 1 - so the pc doesnt have the item anymore
additem "item" 1 - to add it to the npcs inventory so she will hold it
player->additem "book" 1 - adds a book to the pcs inventory
journal "entry" 10 - starts a new quest
addtopic "topic" - adds a topic?
addtopic "anothertopic" - adds a topic?
but, when i test the mod, the npc says her line...and NOTHING happens. none of this happens. i looked for typos i might have made by comparing to others i know work (none that add topics, i havnt seen any that do this) it looks like it should work to me. but obviously im wrong.
some help would be appreciated. thanks!!