I am pretty new to Construct 2 but have used Javascript for years.
I am having trouble finding a complete example of "c2_callFunction " showing how to use it, and where the Javascript code is located. (And I can't find an example because the dropbox examples return "the 404 file not found" error).
Assuming I want to do some calculation on a variable "Variable_A" (passed from Construct 2) times 2, and then return the value to Construct 2 (and then use it somewhere - ie. place as value in text.)
The equation would be X times 2 = 18 if "X" is "9"
My questions are:
1. Where do I write the Javascript function(ie. Where is the HTML file (name and location) ?
2. How do I call the "c2_callFunction".
3. How do I return the result.