getcallingscript
Returns the script associated with the calling context.
Skips executor Lua frames when finding a script environment. Returns nil if no game script can be attributed to the call.
getcallingscript(): LuaSourceContainer?
DocumentationReturns the script associated with the calling context.
Skips executor Lua frames when finding a script environment. Returns nil if no game script can be attributed to the call.
getcallingscript(): LuaSourceContainer?