GetNumExplicitRefs
From GECK
A function added by the New Vegas Script Extender.
Contents
Description
Returns the number of explicit references 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
(NumRefs:int) GetNumExplicitRefs Script:script
Example
int iNumRefs let iNumRefs := GetNumExplicitRefs ; * for this script ; or let iNumRefs := GetNumExplicitRefs SomeOtherScript