What's the best method for getting the return value from a .js script placed on the index.html?
c2_callFunction("name", ["param1", "param2"]);[/code:2cedqunh]
Guess there's no way to way to get around having to learn some code.
Develop games in your browser. Powerful, performant & highly capable.
In index.html just place your code to be accessible globally
In C2 just assign it to a variable or just get the value directly
I didn't know you could get a variable like that.
Then again I'm not even sure Im using the right variable.
Thanks for the info guys.