how to pass variables in custom script? customScript(var)
Posted: 07 Oct 2013 09:30
Hi,
how can I pass variables to a custom scripts, like the internal functions?
Cheers,
Peter
how can I pass variables to a custom scripts, like the internal functions?
Code: Select all
-- Start: faderScript()--
// On expression: x = any
decl variableToPass = x;
// Call script in a different place of the tree, here: 'Project/Interface/Scripts'
Scripts.myCustomScript(variableToPass);
-- End: faderScript()--
Peter