Open topic with navigation
script_path function returns the path and file name of the script that is running.
(String, String) Returns the path of the folder that contains the script and the file name of the script, as separate strings.
local script_directory, script_filename = script_path()
You can use this function to load scripts using their location relative to the current script. In the following example only the first return value from
script_path() - the directory - is concatenated with