GetNthExplicitRef

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
< [[::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

[help]
(ref) GetNthExplicitRef Index:int Script:script

Example

ref rFive
let rFive := GetNthExplicitRef 5, SomeScript

See Also