4
Fork 0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

10 lines
243 B

Scriptname _00E_GiveItemOnActivate extends ObjectReference
Armor Property ItemToAdd Auto
Event OnActivate(ObjectReference akActionRef)
if akActionRef == Game.GetPlayer()
Game.GetPlayer().AddItem(ItemToAdd, 1)
self.delete()
endif
EndEvent