Is there a way to limit trade items with NPC?

Post » Fri Nov 16, 2012 6:47 pm

I'm using the http://www.creationkit.com/OpenInventory_-_Actor to allow the player to take items, but this allows both adding and taking. Is there a way to limit it to just so the player can only take items?

It seems simple enough, but my Google searches haven't turned up anything.
User avatar
Saul C
 
Posts: 3405
Joined: Wed Oct 17, 2007 12:41 pm

Post » Fri Nov 16, 2012 6:28 am

http://www.creationkit.com/ShowGiftMenu_-_Actor ?

I'm using the http://www.creationkit.com/OpenInventory_-_Actor to allow the player to take items, but this allows both adding and taking. Is there a way to limit it to just so the player can only take items?

It seems simple enough, but my Google searches haven't turned up anything.
User avatar
Trista Jim
 
Posts: 3308
Joined: Sat Aug 25, 2007 10:39 pm

Post » Fri Nov 16, 2012 9:38 pm

http://www.creationkit.com/ShowGiftMenu_-_Actor ?

Thanks! Perfect! I've seen that before, but didn't make the connection... I'll make a mention in the Wiki.
User avatar
TASTY TRACY
 
Posts: 3282
Joined: Thu Jun 22, 2006 7:11 pm

Post » Fri Nov 16, 2012 2:23 pm

I was unaware of ShowGiftMenu as well...does it take the actor's carry weight into account? If so, I may have to edit some scripts.
User avatar
Lucky Girl
 
Posts: 3486
Joined: Wed Jun 06, 2007 4:14 pm

Post » Fri Nov 16, 2012 7:06 am

I was unaware of ShowGiftMenu as well...does it take the actor's carry weight into account? If so, I may have to edit some scripts.
It looks to me like it's the same inventory with additional options for making it only way way - from the player, or to the player. So I imagine, but haven't tested, that the item weights and encumbrance would be the same.

Now that I have this working, here's a full example:

Show Gift Window and Track Items Given
This is used for the Player to feed his animal companion. The FormList is created in the CK and includes all the food (Potion & Ingredient) items I want to consider food for the animal.
http://www.creationkit.com/Complete_Example_Scripts#Show_Gift_Window_and_Track_Items_Given
User avatar
Elizabeth Lysons
 
Posts: 3474
Joined: Fri Feb 02, 2007 7:16 am


Return to V - Skyrim