Dimensionlord1 Posted December 14, 2015 Share Posted December 14, 2015 I would like to make some edits to certain player homes, adding in the option to buy decorations similar to how Fallout 3's homes had themes. Basically I just need to know how to make it so that when I buy the theme or whatever I intend to call it that the objects will be enabled. Link to comment Share on other sites More sharing options...
madmongo Posted December 14, 2015 Share Posted December 14, 2015 You place the object in the home and click the check box to make it initially disabled. Also, give the object a unique reference name. Let's say for example you call the object MyUglyCouchREF. When you buy the item, the result script in your vendor's conversation needs to enable the object, like so: player.removeitem caps001 100 ; remove caps from the playerMyUglyCouchREF.enable ; enable the item You'll want to check that the player has enough caps and that the item hasn't already been purchased before allowing that topic to be displayed in the vendor's conversation. If you are using the script from a computer terminal or some other type of control, then you obviously won't need the line about removing the caps from the player. Also, depending on how you lay out the house, you may need to disable objects that are in the way. For example, if instead you start out with an ugly couch and can purchase a better one, you might need to do something more along the lines of this: MyUglyCouchREF.disableMyBetterCouchREF.enable Both of these objects would be placed in the exact same location when you are editing the house in the GECK. The ugly couch would be enabled by default (check box unchecked), and the better couch would be disabled by default (check box for initially disabled checked). Link to comment Share on other sites More sharing options...
Dimensionlord1 Posted December 18, 2015 Author Share Posted December 18, 2015 Awesome that helps a lot. Thanks! Link to comment Share on other sites More sharing options...
Recommended Posts