GetCallingScript

Revision as of 03:23, 17 July 2014 by imported>Odessa (clarified)
< [[::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

(script) GetCallingScript 

Example

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

See Also