Jump to content

House Buying Script


Recommended Posts

So I'm working on a player home mod where the player purchases the home by depositing gold into a strongbox(activator).

 

The player will walk up to the strongbox and activate it. A menu will pop up asking if the player wants to deposit the money or not. If they deposit the money they receive the house key, if they choose not to deposit the money the player exits from the menu. They can exit the menu as many times as they like, but they can only deposit the money once.

 

To be clear, if the player chooses to deposit the money, that money is removed directly from the players inventory.

 

I have no idea how to write this script so if there is anybody out there that can help me out I'd really appreciate it.

Link to comment
Share on other sites

I couldn't tell you how to write the script, but there's a nifty modder's resource and tutorial I've used called Fore Sale, Sold! by berticus0001. It's from LE, but I've successfully used in in SE as well.

 

https://www.nexusmods.com/skyrim/mods/36756 For the script (and other goodies).

http://bertscktutorial.ucoz.com/index/for_sale_sold/0-19 For his website with the tutorial for this and other things.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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