GetNextRefForItem
Revision as of 14:34, 21 August 2014 by imported>Odessa (created. source nvse wahtsnew + testing in geck)
< [[::Category:Functions|Category:Functions]]
A function added by the New Vegas Script Extender.
Description
Returns the next entry in an array of temporary references to all objects of the specified type in the calling container, and should be called after GetFirstRefForItem, and during the same frame. Added by NVSE 3.1.
Syntax
(temp ref) container.GetNextRefForItem Type:object
Example
ref rTemp let rTemp := PlayerREF.GetFirstRefForItem WeapNV9mmPistol while rTemp != 0 ; do something let rTemp := PlayerREF.GetNextRefForItem WeapNV9mmPistol loop
See Also
- GetFirstRefForItem
- GetInvRefsForItem (to get an array with all temp refs)