Please note that new user registrations disabled at this time.

Modding Problem: Result Window

This forum is to be used for all discussions pertaining to Bethesda Softworks' The Elder Scrolls III: Morrowind and its Tribunal and Bloodmoon expansion packs.
Post Reply
User avatar
Armadillo Rage
Posts: 26
Joined: Wed Jan 02, 2008 2:39 pm
Contact:

Modding Problem: Result Window

Post by Armadillo Rage »

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!!
**Armadillo Rage**
Aim: UO Danse Party
User avatar
Magelord648
Posts: 1668
Joined: Fri Feb 10, 2006 1:54 pm
Location: England
Contact:

Post by Magelord648 »

With all that I'd suggest a script.

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
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.
[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.
User avatar
Armadillo Rage
Posts: 26
Joined: Wed Jan 02, 2008 2:39 pm
Contact:

Post by Armadillo Rage »

Thanks for the help!!! i got it working =)
**Armadillo Rage**
Aim: UO Danse Party
User avatar
Magelord648
Posts: 1668
Joined: Fri Feb 10, 2006 1:54 pm
Location: England
Contact:

Post by Magelord648 »

Through the script or the result window?
[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.
Post Reply