GetCallingScript

From the Fallout3 GECK Wiki
Revision as of 03:23, 17 July 2014 by imported>Odessa (clarified)
Jump to navigation Jump to search
< [[::Category:Functions|Category:Functions]]

A function added by the New Vegas Script Extender.

Description

Usable only within a User Defined Function script to return the other script that called the UDF. This could be useful for debugging or converted for use as an array map key.

Syntax

[help]
(script) GetCallingScript 

Example

ref rCallingScript
let rCallingScript := GetCallingScript
PrintC "My UDF just got called by %i", rCallingScript

See Also