Hi,
Is there such a plugin that lets you call custom functions defined in an external JS file? I'm looking at doing something like text processing where the function can be called as an action in the events sheet, can take in a variable and can receive a return value. So maybe something like:
in C2 --> Use JS Function Plugin --> Enter in "myCustomFunctions.js" and maybe some other Js files like Underscore.js
In myCustomFunctions.js, I maybe have something like this:
myCustomFunc(rawWord) {
//...process rawWord
var out = rawWord;
return out;
}
[/code:3vq5n0f9]
and in C2, I've got something like this in my event sheet:
Event 1 --> On Some Condition --> call external function named "myCustomFunc" with parameters aC2Variable;