Skip to content

getscriptfunction

Description:

This function demonstrates the usage of the getscriptfunction API.

Example:

-- Get the function of a script
local scriptFunction = getscriptfunction(some_script)

print("Script function: " .. tostring(scriptFunction))