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!!
Modding Problem: Result Window
- Armadillo Rage
- Posts: 26
- Joined: Wed Jan 02, 2008 2:39 pm
- Contact:
Modding Problem: Result Window
**Armadillo Rage**
Aim: UO Danse Party
Aim: UO Danse Party
- Magelord648
- Posts: 1668
- Joined: Fri Feb 10, 2006 1:54 pm
- Location: England
- Contact:
With all that I'd suggest a script.
In the result window put:
Startscript "script"
The script should read.
The way I've wrote that you just need to copy and paste, then fill in the IDs. Any thing after a semi colon isn't processed. It may need some tweaking however as I haven't wrote a script for a long time.
In the result window put:
Startscript "script"
The script should read.
Code: Select all
Begin "script"
journal "entry" 20
;to finish this quest
player->removeitem "item" 1
;so the pc doesn't have the item anymore
"NPC"->additem "item" 1
;to add it to the npc's inventory so she will hold it
player->additem "book" 1
;adds the book to the pc's inventory
journal "entry" 10
;starts the new quest
"NPC"->addtopic "topic"
;adds the topic
"NPC"->addtopic "anothertopic"
;adds the topic
stopscript "script"
end
[url="http://www.gamebanshee.com/forums/the-elder-scrolls-iii-morrowind-29/tel-uvirith-86692.html"]Uvirith Awakes[/url] - Please leave comments, all help is appreciated.
- Armadillo Rage
- Posts: 26
- Joined: Wed Jan 02, 2008 2:39 pm
- Contact:
- Magelord648
- Posts: 1668
- Joined: Fri Feb 10, 2006 1:54 pm
- Location: England
- Contact: