Drop - ObjectReference

From the Fallout4 CreationKit Wiki
Revision as of 16:10, 17 March 2016 by imported>Plplecuyer (Created page with "Category:Scripting Category:Papyrus Category:Latent Functions Category:Inventory-safe Papyrus Functions Category:Non-Delayed Native Functions '''Member of:'''...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Member of: ObjectReference Script

Drops this object from the container that it is in.

Syntax[edit | edit source]

Function Drop(bool abSilent = false) native

Parameters[edit | edit source]

  • abSilent: If true, will not display an on-screen "X dropped" message if the container is the player.
    • Default: False

Return Value[edit | edit source]

None.

Examples[edit | edit source]

; Drops us from the container we are in
Drop()


; Silently drops us from the container we are in
Drop(true)

See Also[edit | edit source]