Hello, I'm having trouble getting a script to work. I used the example for this type of script on the creation kit website, but when I test it in game, even the items that are on the form list I created get rejected by the container :/ So I can't actually put anything in it :S Here's what my script looks like:
Scriptname BrewerLidScript extends ObjectReference Event OnItemAdded(Form akBaseItem, int aiItemCount, ObjectReference akItemReference, ObjectReference akSourceContainer)If akSourceContainer == PlayerREFIf !AcceptedItemFLST.HasForm(akBaseItem)RemoveItem(akBaseItem, aiItemCount, True, akSourceContainer)Debug.Trace("Invalid Item")EndIfEndifEndEventFormList Property AcceptedItemFLST Auto Actor Property PlayerRef Auto
If anyone can help me I'd really appreicate it, thanks!