GetNthExplicitRef
Revision as of 13:55, 12 August 2014 by imported>Odessa (Created. Source OBSE docs.)
< [[::Category:Functions|Category:Functions]]
A function added by the New Vegas Script Extender.
Description
Returns the Nth explicit ref in the calling script or passed script object. Explicit references are any objects mentioned by name in the script; for instance, if a script contains an "OnHit Player" block or a "Player.AddItem" command, its explicit references will include the player.
Syntax
(ref) GetNthExplicitRef Index:int Script:script
Example
ref rFive let rFive := GetNthExplicitRef 5, SomeScript