GetBarterItems

< [[::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