GetFirstRefForItem
Jump to navigation
Jump to search
< [[::Category:Functions|Category:Functions]]
A function added by the New Vegas Script Extender.
Description
Returns the first entry in an array of temporary references to all objects of the specified type in the calling container. Added by NVSE 3.1.
Syntax
(ref) container.GetFirstRefForItem Type:object
Example
ref rTemp let rTemp := PlayerREF.GetFirstRefForItem WeapNV9mmPistol ; rTemp might equal: '9mm Pistol (FF001376)'