What's the best method for getting the return value from a .js script placed on the index.html?
Maybe..
c2_callFunction("name", ["param1", "param2"]);[/code:2cedqunh] [img="http://lookpic.com/O/i2/186/aZp9Elae.png"] [img="http://lookpic.com/O/i2/1886/URRN4DZK.png"]
Develop games in your browser. Powerful, performant & highly capable.
Guess there's no way to way to get around having to learn some code.
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.