theBreadThief Posted June 7, 2014 Share Posted June 7, 2014 So I'm making this house mod, and in the "bar" area, I would like to have a keg of mead able to be activated with a trigger box or something, and then a script would run to give the player a bottle of mead. Any ideas? All I would need is the script. Thanks Reason I'm asking is becuase scripting is one of the only things I don't know how to do in the creation kit lol Link to comment Share on other sites More sharing options...
IsharaMeradin Posted June 7, 2014 Share Posted June 7, 2014 Simplest script would be Reveal hidden contents You have to fill the properties in the CK with the mead you want to give and with the number to give.ScriptName GiveItemOnActivateScript Extends ObjectReference Potion Property BottleOfMead Auto Int Property NumToGive Auto Event OnActivate(ObjectReference akActionRef) akActionRef.AddItem(BottleOfMead,NumToGive) EndEvent Do you know how to add new scripts and compile them? Link to comment Share on other sites More sharing options...
theBreadThief Posted June 7, 2014 Author Share Posted June 7, 2014 Okay thank you, this is exactly what I was looking for. And I kind of do know how to add the scripts and compile them. I have only scripted one other thing and that was my fox follower mod. Im extremely new to scripting otherwise. I'm sure I can figure out how to get this functional. Anyway thank you again! Link to comment Share on other sites More sharing options...
Recommended Posts