GetInvRefsForItem
From GECK
A function added by the New Vegas Script Extender.
Contents
Description
Returns an array of Inventory References to objects that are instances of the specified Base Form in the calling container.
Syntax
(array) container.GetInvRefsForItem Type:baseform
Example
array_var MyArray let MyArray := PlayerREF.GetInvRefsForItem WeapNV9mmPistol ; ar_dump might, for example return: ; [ 0.000000 ] : 9mm Pistol (FF001373) ; [ 1.000000 ] : 9mm Pistol (FF001374) ; [ 2.000000 ] : 9mm Pistol (FF001375)