Here is my current script:
Scriptname EE_VaultChestScript extends ObjectReference
ObjectReference Property EE_GoldPile01REF Auto
ObjectReference Property EE_GoldPile02REF Auto
miscobject Property gold001 Auto
Actor Property PlayerREF Auto
Event OnItemAdded(Form akBaseItem, int aiItemCount, ObjectReference akItemReference, ObjectReference akSourceContainer)
If akSourceContainer == PlayerREF
if (Game.GetPlayer().GetItemCount(gold001) < 100)
EE_GoldPile01REF.disable
EE_GoldPile02REF.disable
elseif (Game.GetPlayer().GetItemCount(gold001) < 1000)
EE_GoldPile01REF.enable
EE_GoldPile02REF.disable
elseif (Game.GetPlayer().GetItemCount(gold001) < 10000)
EE_GoldPile01REF.enable
EE_GoldPile02REF.enable
endIf
endif
EndEvent
I am getting an error back when I compile:
(12,24): disable is not a property on script objectreference or one of its parents
(13,24): disable is not a property on script objectreference or one of its parents
(15,24): enable is not a property on script objectreference or one of its parents
(16,22): disable is not a property on script objectreference or one of its parents
(18,25): enable is not a property on script objectreference or one of its parents
(19,24): enable is not a property on script objectreference or one of its parents
I have no idea what I am supposed to do now :S