Here's my bit of script:
Key Property RangerShackDoorKey AutoBook Property RShackDeed Auto int countEvent OnRead () if count == 0 Game.GetPlayer().AddItem(RangerShackDoorKey) RShackDeed.SetItemValue(0) endifendEvent
Saves and works fine without the "SetItemValue" line, and otherwise gives me the error "SetItemValue is not a function or does not exist". Any input would be much appreciated!
