Jump to content

Do I need a specific script, or what?


isawachicken

Recommended Posts

I'm currently modding Deepscorn to add aguest room area. I want to be able to purchase it from Rowley.

 

I have gotten to the point where everything necessary is marked as initially disabled, with the x marker as the 'copy enable state' parent. The x marker is set up with its own ref id. I have a scroll/item that is bought (it has the housefurnreciept script), it's even in Rowley's vendor chest thing.

 

I have a feeling this isn't going to make it go 'poof- here's your furniture. The CS has no idea that that item is going to enable the x marker.

 

So, how do I make it so purchasing the scroll enables the x marker, and subsequently enables all the initially disabled stuff?

 

Thanks in advance.

Link to comment
Share on other sites

In your script you will need to check if the player character has the item in their inventory and then enable the reference x marker.

 

Add the script to your item you buy from the store. It should go something like this:

 

scn EnableMyRoomOrSomething

 

Begin OnAdd

 

enable (your reference here)

 

End

Link to comment
Share on other sites

  • Recently Browsing   0 members

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