Table of Contents

Method GetCurrentScriptName

Namespace
Anvil.API
Assembly
NWN.Anvil.dll

GetCurrentScriptName(int)

Gets the name of the currently executing script.
If depth is > 0, it will return the name of the script that called this one via ExecuteScript().

public string? GetCurrentScriptName(int depth = 0)

Parameters

depth int

depth to seek the executing script.

Returns

string

The name of the currently executing script.