Difference between revisions of "GetCallingScript"
Jump to navigation
Jump to search
imported>Odessa (Created page with "{{Function |origin = NVSE |summary = Available since NVSE 4.1. Usable only within a User Defined Function to return the calling script. This could be useful for debuggin...") |
imported>Odessa m (clarified) |
||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
|origin = NVSE | |origin = NVSE | ||
|summary = | |summary = 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 Variable|array]] map key. | ||
|name = GetCallingScript | |name = GetCallingScript | ||
|returnType = script | |returnType = script | ||
Line 18: | Line 18: | ||
*[[ToNumber]] | *[[ToNumber]] | ||
*[[PrintToConsole|PrintC]] | *[[PrintToConsole|PrintC]] | ||
*[[GetCurrentScript]] | |||
[[Category:Functions_(NVSE)]] | [[Category:Functions_(NVSE)]] | ||
[[Category:Debugging]] | [[Category:Debugging]] |
Revision as of 03:23, 17 July 2014
< [[::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