GetSoldItemInvRef

From GECK
Jump to: navigation, search


A function added by the New Vegas Script Extender version 6.2.8.

Description

Returns an Inventory Reference of the currently sold item for an OnSell event.

Does NOT work inside the OnSell blocktype.

Syntax

[help]
(soldItem:reference) GetSoldItemInvRef

Example

ref rSoldItemRef = GetSoldItemInvRef 

See Also