Yes.
I GET IT I GET IT I GET IT I GET IT.
My code worked fine. It just didn't update the pause button or the editor UI, which frankly shouldn't matter since the enduser will probably not care about that, even if they go into the editor. We don't need someone to test this.
???
Why would they ask you to reply to their post then?
I have no idea.
Geez, I go to school and yet so much happens when I'm not here ;w; so much notifications
"Pause all" is just a fancy name for "breakpoint here", there's no point in having a "un-breakpoint" block, as much as you can implement it
What if you want to have a hotkey to pause or unpause a project?
it could be a bug
hmm, that'd be cool, but it should be something in the editor, not in the script itself
also because it wouldn't run in pause mode
I'm pretty sure non-generic hat blocks still trigger while paused
I'm searching a tutorial to make a predicate block to check if any script is paused, my friend.
Here:
var ide = world.children[0];
return ide.stage.threads.processes.some(e => e.isPaused);
Note: This is to check if
To see if all scripts are paused, replace some
with every
.
This not works.
Oh, right, I forgot unpaused scripts will be counted as well.
Try this instead:
proc.pauseShieldFlag = null;
var ide = world.children[0],
pcs = ide.stage.threads.processes.filter(e =>
!("pauseShieldFlag" in e));
delete proc.pauseShieldFlag;
return pcs.every(e => e.isPaused);
(Include a "proc" parameter in the JSF but nothing in the with inputs field.)
Mmm...
Not exactly.
I searching a predicate if any script is paused
"any"
"any script is paused
not the unpaused scripts
hfhdhfhhdhf
OMG!!!
I tested your code and works!!!
Sorry.