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.
 
 
 

15 lines
378 B

Scriptname _00E_FS_ItemCantDropScript extends ObjectReference
Event OnContainerChanged(ObjectReference akNewContainer, ObjectReference akOldContainer)
PlayerREF = Game.GetPlayer()
If akOldContainer == PlayerREF
If akNewContainer == None
PlayerREF.Additem(self)
Else
PlayerREF.Additem(self)
akNewContainer.RemoveItem(self)
EndIf
Endif
EndEvent
Actor PlayerREF