DropMeAlt

Revision as of 21:27, 23 September 2015 by imported>Jazzisparis (Created page with "{{Function |origin = JIP |summary = Drops the calling <i>Inventory Reference</i> in the world, next to its container. *All stats/attributes (health, script, mods, ownership,...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
< [[::Category:Functions|Category:Functions]]

A function added by the JIP NVSE Plugin.

Description

Drops the calling Inventory Reference in the world, next to its container.

  • All stats/attributes (health, script, mods, ownership, etc.) of dropped items are preserved.
  • This function will trigger the OnDrop script event (where applicable).

Syntax

reference.DropMeAlt quantity:int clearOwnership:0/1

Example

itemRef.DropMeAlt 5

Notes

  • If quantity is not specified or is <= 0, the whole amount of the Inventory Reference will be dropped.

See Also