I don't know if it's possible to request focus from the inside of an iframe. But you should be able to set focus to iframe from the parent page.
stackoverflow.com/questions/369026/setting-focus-to-iframe-contents
The only way I know is to pause all objects (player, enemies etc.), using "System set object timescale to 0" action. Then run the Litetween. And when it's finished, you can restore objects timescale and pause the entire game.
Functions map is the intended way to do this, but I find it difficult to use.
Another option is call the function using scripting. Copy the function name into a local variable, then execute this script:
runtime.callFunction(localVars.f);
You need to use either global variables, or instance, not both.
If you are using instance variables, then change the expression to left(Self.t, Self.index)
Develop games in your browser. Powerful, performant & highly capable.
These variables can be global or instance on BubbleText object. Or even local+static.
The code should work, if it doesn't please post a screenshot of your events, or share your project file.
String Variable t=Your real text here Number Variable index=0 On any key pressed: Add 1 to index BubbleText Set text to left(t, index)
This will clear X axis at Y=3
For "n" from 0 to (Array.width-1) : Array Set 0 at (X=loopindex, Y=3)
This will clear Y axis at X=3
For "n" from 0 to (Array.height-1) : Array Set 0 at (X=3, Y=loopindex)
"saveinfo" is an array. Try JSON.get("saveinfo.0.date")
Eren I need to develop a specific addon for C3, this will be a paid job. If you are interested, could you please email me at doperst2006urs@gmail.com ?
Try sending "{'character_id': 1}", maybe the API is expecting JSON-formatted string.
Also, instead of signals you should use "Wait for previous action to complete" action.
You can remove isOverlap variable, it's not really needed.
Press F12 and check browser log for error messages.
There are multiple mistakes in your code. You don't need to link lamps and detectors by id, they are already linked because they are in the same container. Also, "Else" with conditions that check overlapping for multiple instances will not work correctly. You need to add "For each".
I fixed your project:
dropbox.com/s/hgbghu09lawkpcv/LampsFixed.capx
You do not have permission to view this post
AJAX is the way to go. If it doesn't work, open browser console (F11) and check for error messages. The most common problem is with blocked cross-origin requests, if this is what you have, try searching the forum, there are plenty of solutions.