Im working on artifact, that will give you money every 24 hours from equip
Scriptname CoinEquip extends ObjectReference
MiscObject Property Gold001 Auto
Armor Property Sack Auto
Event OnEquipped(Actor akActor)
RegisterForSingleUpdateGameTime(24.0)
EndEvent
Event OnUpdateGameTime()
if(Game.GetPlayer().IsEquipped(Sack))
Game.GetPlayer().AddItem(Gold001, 500)
RegisterForSingleUpdateGameTime(24.0)
endif
EndEvent
Sack Property is that artifact itself
Please help me
It compiles fine, but does nothing