Jump to content

Using ScriptExecutor to change the running script


Adept

Recommended Posts

I am attempting to stop the current script and start another one. ScriptExecutor in the API seems to provide the right methods, however I can't tell how to make proper use of them. What does "suspending" a script do? Should I "prepare" a script before starting it? Why does the "setRunningScript" method accept a boolean as a parameter? And most importantly, what's the proper way of stopping one script and starting another one?

Edited by Adept
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...