15 lines
378 B
Plaintext
15 lines
378 B
Plaintext
|
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
|