GetBarterItems

Revision as of 17:51, 2 July 2015 by imported>Jazzisparis (Created page with "{{Function |origin = JIP |summary = Returns an array of temporary <i>inventory references</i> to the items bartered in the current, active transaction. If the <i>getSoldIte...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
< [[::Category:Functions|Category:Functions]]

A function added by the JIP NVSE Plugin.

Description

Returns an array of temporary inventory references to the items bartered in the current, active transaction. If the getSoldItems parameter is non-zero, the returned array will contain the items set to be sold by the player. Otherwise, the array will contain the items set to be bought by the player.

Syntax

(barterItemRefs:array_var) GetBarterItems getSoldItems:0/1

Example

let aBarterItems := GetBarterItems 0

See Also