Dialogue ect.

Post » Fri May 27, 2011 6:21 pm

Can anyone explain to me how to make an NPC give you a certain item through dialogue? I also need to know how to make an NPC react when you have a certain item. and how to make them take an item out of your inventory, and give you a reward etc. Can anyone help? maybe even refer me to a good tutorial?
User avatar
Maeva
 
Posts: 3349
Joined: Mon Mar 26, 2007 11:27 pm

Post » Sat May 28, 2011 8:03 am

The dialog tutorial http://www.calislahn.com/elder-scrolls/tutorials/ is a good one.
(the esp is optional, the text Doc alone explains everything very well)
User avatar
Laura
 
Posts: 3456
Joined: Sun Sep 10, 2006 7:11 am

Post » Fri May 27, 2011 11:51 pm

Can anyone explain to me how to make an NPC give you a certain item through dialogue?
in the dialog result box:
player->additem "certainItemID" 1
I also need to know how to make an NPC react when you have a certain item
Use the Item dialog filter
. and how to make them take an item out of your inventory, and give you a reward etc.
in the dialog result box:
player->removeitem "itemToTakeID" 1
player->additem "itemToGiveID" 1
player->additem "gold_001" 100

if you load Morrowind.esm and look in the construction set for text player->additem, you will find plenty of examples
User avatar
Tom Flanagan
 
Posts: 3522
Joined: Sat Jul 21, 2007 1:51 am

Post » Fri May 27, 2011 6:13 pm

in the dialog result box:
player->additem "certainItemID" 1
Use the Item dialog filter
in the dialog result box:
player->removeitem "itemToTakeID" 1
player->additem "itemToGiveID" 1
player->additem "gold_001" 100

if you load Morrowind.esm and look in the construction set for text player->additem, you will find plenty of examples


That's perfect. thanks a lot!
User avatar
Nana Samboy
 
Posts: 3424
Joined: Thu Sep 14, 2006 4:29 pm


Return to III - Morrowind