isawachicken Posted October 8, 2011 Share Posted October 8, 2011 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 More sharing options...
jamochawoke Posted October 9, 2011 Share Posted October 9, 2011 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 More sharing options...
isawachicken Posted October 9, 2011 Author Share Posted October 9, 2011 Alright, I'll do that- thanks a ton. :thumbsup: [i'm still confused why it requires it's own script. The other receipt-items for Deepscorn only have the furnreceipt script. :confused: Link to comment Share on other sites More sharing options...
isawachicken Posted October 9, 2011 Author Share Posted October 9, 2011 It didn't work. I buy the item, and nothing shows up. Poof- nada. :wallbash: Link to comment Share on other sites More sharing options...
The_Vyper Posted October 9, 2011 Share Posted October 9, 2011 That script is a good starting point, but needs a bit of refinement. Try this: scn EnableMyRoomOrSomethingScript Short DoOnce Begin OnAdd Player If DoOnce == 0 YourRefID.Enable Set DoOnce to 1 Endif End Link to comment Share on other sites More sharing options...
isawachicken Posted October 10, 2011 Author Share Posted October 10, 2011 Alright- It's working now.Thank you so much. Like...lotsandlots. :D Link to comment Share on other sites More sharing options...
Recommended Posts