Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > CopperCube > Programming and Scripting
Pause Execution of Script

Zoo
Guest
Quote
2017-12-20 19:34:08

Hello, how does one pause the execution of a acript for 10 ms?

SetInterval does not work..

I need to pause the script and executed it ever 10 ms for 100 ms


techno-valley
Registered User
Quote
2017-12-21 02:36:48

Just create a new var called ExecuteStatus and create an if condition under everyfew seconds do if 0 don't executre if 1 execute

Meanwhile create another do later function with 10ms and change the variable if 0 then 1 and if 1 the change to 0


Brilliant!!!!
Guest
Quote
2017-12-22 21:06:56

Brilliant!!!! Very clever!


techno-valley
Registered User
Quote
2017-12-22 23:14:35

Many thanks for the feedback !


I assume this is Zoo's reply


Zoo
Guest
Quote
2017-12-23 00:40:23

yes


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "I?ternational" (you are not logged in)


Text:

 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


   






Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact