TangerineDog Posted January 6, 2018 Share Posted January 6, 2018 What's the event to use when I want a script attached to an object to run as soon as the player takes said object? Link to comment Share on other sites More sharing options...
cdcooley Posted January 6, 2018 Share Posted January 6, 2018 Event OnContainerChanged(ObjectReference akNewContainer, ObjectReference akOldContainer) if akNewContainer && akNewcontainer = Game.GetPlayer() ; picked up by player endif EndEvent If there are many copies of the item or it is something the player will put down and pick up again many times you should use a PlayerRef property. Actor Property PlayerRef Auto Event OnContainerChanged(ObjectReference akNewContainer, ObjectReference akOldContainer) if akNewContainer == PlayerRef ; picked up by player endif EndEvent Link to comment Share on other sites More sharing options...
Recommended Posts