Changes

Jump to navigation Jump to search
19 bytes added ,  22:20, 4 February 2020
Line 304: Line 304:  
|}
 
|}
   −
To figure out which variables you have access to, you can use the '''LIST_SCOPE_MEMBERS''' console command with the name of the scope you want to check out, e.g. '''LIST_SCOPE_MEMBERS CopyScope'''. Note that you can use dot notation to drill down into a scope, e.g. '''LIST_SCOPE_MEMBERS CopyScope.Product'''. You can use parentheses to get info on specific parameters or generic types, e.g. '''CopyScope.Product.RunScripts(0)''' will print out info for the first parameter of the function RunScripts, which is '''ScriptSystem.EntryPoint''', i.e. the available list of entry points.
+
To figure out which variables you have access to, you can use the '''LIST_SCOPE_MEMBERS''' console command with the name of the scope you want to check out, e.g. '''LIST_SCOPE_MEMBERS CopyScope'''. Note that you can use dot notation to drill down into a scope, e.g. '''LIST_SCOPE_MEMBERS CopyScope.Product'''. You can use parentheses to get info on specific parameters or generic types, e.g. '''LIST_SCOPE_MEMBERS CopyScope.Product.RunScripts(0)''' will print out info for the first parameter of the function RunScripts, which is '''ScriptSystem.EntryPoint''', i.e. the available list of entry points.
    
You can either write your scripts directly in your [[TyD|TyD]] file as such:
 
You can either write your scripts directly in your [[TyD|TyD]] file as such:

Navigation menu