Mod:Creation Kit/DropFirstObject - ObjectReference

Member of: Mod:Creation Kit/ObjectReference Script

Drops the specified object from this object's inventory.

Syntax
ObjectReference Function DropFirstObject(bool abInitiallyDisabled=false) native

Parameters

 * abInitiallyDisabled: If true, the dropped object will be disabled when dropped.

Return Value
The object that was dropped.

Examples
Game.GetPlayer.DropFirstObject
 * Drops the first item from the player's inventory.