Jump to content

Can we open player inventory from a dialogue?


Recommended Posts

@Bubb helped @subtledoctorwith some voodoo on displaying inventory for his psion's (he probably hates that I call it something other than what he does-sorry, old, stuck in my ways) identity spell.  I have the tph and other files on that, but is it possible to do this outside of a spell and just from a dialogue?  I want to set up exit dialogues and give the player a chance to swap out inventory for those NPCs that are leaving.  It would be nice if I could have said dialogue then open inventory, allow for swaps, then have the NPC leave.

I realize that normally kicking out NPCs is not a big deal.  You adjust inventory, then reform your group.  But this is a semi-forced situation after Korlasz but not starting with the whole SoD dealy ... at least not right away.  My mod will initiate the dialogues and control the leaving.  However, I want to give the player a chance to NOT lose his prime equipment.

Granted, I can just have the NPC give everything, but I'm a role-player.  And that's just not something I would do - well, except for in one instance.  And I can have the NPC just walk away with the best equipment the PC has.  I'd prefer that over the former, but I'm looking for middle ground. 

Like, Ajantis is wearing Sarevok's custom armor (it is pretty sweet), but he'd not want to wear it to meet his superiors for certain.  That I can script for, but other items I can't, so much.

Anyway, I'd like to have the option ... if possible.  Is it possible?

Link to comment

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...