I wanna know how to remove an item from the ground using a script that is already attached to the item.
I also want to add the same item to the players inventory after it has been removed from the ground. -Basically I want the player to pick up an item that normally can't be picked up.
EDIT: I tried doing this, but of course it doesn't work:
event OnActivate(objectReference TriggerRef) RemoveItem(TriggerRef, 1, true) Game.GetPlayer().AddItem(TriggerRef, 1, true)endEvent
-I thought "TriggerRef" would mean the object that is being activated (the one I want to pick up).
-I have no idea how to add the item to the player, I just tried something and the script compiled and saved so I thought I did it right by accident.
EDIT #2: The item I want to pick up is an activator - a Bear trap, to be exact.
