41 static bool rename(
string scriptName,
string newName=
"");
63 static multiReturn<var* ...>
triggerFunction(
string funcName,
string scriptName, ...);
73 static string doString(
string scriptStr,
string scriptName);
84 static var*
getValue(
string variable,
string scriptName);
static function thisFunction()
gets the current function where this function is called.
static var * getValue(string variable, string scriptName)
gets the value of a variable from another script.
used to control specific scripts.
Definition: script.h:6
static multiReturn< var *... > triggerFunction(string funcName, string scriptName,...)
calls a function in a script.
static string thisFunctionName()
gets the name of the function where this function is called.
static bool rename(string scriptName, string newName="")
renames the script. If no name given, renames the current script.
static string thisName()
gets the name of the script where this function is called.
static string doString(string scriptStr, string scriptName)
does a script string in a script.
static script setReloadOnUpdate(string scriptName, bool reloadOnupdate=true)
sets whether or not the script should reload on update.
static script clear(string scriptName)
clears the script, removing all objects associated with it.
static script remove(string scriptName)
removes the given script, no longer running it.