GetInvRefsForItem
Revision as of 15:22, 21 August 2014 by imported>Odessa (created. source whats_new and testing in geck)
< [[::Category:Functions|Category:Functions]]
A function added by the New Vegas Script Extender.
Description
Returns an array of temporary references to objects of the specified type in the calling container. Added by NVSE 4.5.6.
Syntax
(array) container.GetInvRefsForItem Type:object
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)