Jump to content

Possible to drop keys?


Guest deleted2027229

Recommended Posts

Guest deleted2027229

I know I can put keys in containers, but I'd like to be able to drop them. Is there a way of doing this within the CK?

Link to comment
Share on other sites

Not directly in the Creation Kit.

 

It could theoretically be done, but one has to let the script handling the drop know which key is to be dropped. This is easier said than done due to their being a lot of different keys throughout the game.

 

One solution requiring SKSE:

Create a script that uses a key press. The key press will trigger a scan of the player inventory for keys. When a key is found, pop up a menu box asking if that key should be dropped. If yes, drop one copy of that key with DropObject. If no, skip to the next key found. Can be time consuming and annoying.

 

Instead of a menu still requires SKSE:

Place a remote hidden container (can be in a new empty interior cell), create a new object to be carried by the player which when equipped / used will open the inventory of the remote container. Add whatever keys desired to be dropped and silently move them back to the player with RemoveItem. Use the OnItemAdded event on a script attached to the container to populate an initially empty formlist with the "drop-able" keys. Do the key press routine similar to the above but instead of going through the player inventory, go through the formlist and drop the keys.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...