Deleted49792561User Posted September 25, 2019 Share Posted September 25, 2019 I've been having some issues getting the ownership to work right for my house in the Creation Kit. I'm not sure how to make it purchasable either. a tutorial or the like would be much appreciated. Link to comment Share on other sites More sharing options...
maxarturo Posted September 28, 2019 Share Posted September 28, 2019 (edited) Set Player ownership in the house cell's properties. To make it purchasable, either give the key to a merchant so that you can buy it from, or put a sign (activator or with an activator) outside the house that on activate will ask for money in exchange for the key. Here is a little script to get you started, for use with a sign/activator : Key Property MyKey Auto { Key to give Player } Int Property MyGold Auto { The amount of Gold to Collect from Player } Message Property NoGoldMSG Auto { Message to show when you don't have the required gold } Miscobject Property MiscGoldRef Auto {The Gold Misc Object} Event OnActivate(ObjectReference akActionRef) if (akActionRef == Game.GetPlayer()) If ( Game.GetPlayer().GetGoldAmount() > MyGold ) Game.GetPlayer().AddItem( MyKey , 1 ) Game.GetPlayer().RemoveItem( MiscGoldRef , MyGold ) GoToState( "Done" ) Else NoGoldMSG.Show() EndIf EndIf EndEvent State Done Self.Disable() Utility.Wait(0.5) Self.Delete() EndState Edited September 28, 2019 by maxarturo Link to comment Share on other sites More sharing options...
Recommended Posts