Jump to content
Server Maintenance This Week. ×

Can ZippScript do "continue"?


This topic is 6222 days old. Please don't post here. Open a new topic instead.

Recommended Posts

I don't believe there's any way to call the Resume Script script step from a script. But instead of a Pause Script[indefinitely] add this:

set variable $$resume = 0

Loop

Pause Script[1 second]

Exit Loop If $$resume = 1

End Loop

set variable $$resume = 0

then have the script called by zippScript be:

Set $$resume = 1

I haven't tested this, but I think the logic is sound.

Link to comment
Share on other sites

About the only time I've found this necessary is when using a touch screen, where you prompt a user to select one entity, then apply it to another. Selecting the first entity triggers the script with a pause in it after it collects what it needs, then the selected entity is simply a button that is set to resume script. But again, if a keyboard is available the user can resume the script without selecting the entity, and corrupting the script.

I think you should look at splitting your scripts to eliminate the need for a resume. Much cleaner.

Link to comment
Share on other sites

This topic is 6222 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.