PDA

View Full Version : Sleep Command, bug?



swat3d
02-26-07, 04:07 PM
Hi,
I have been searching the forum for a solution but the only thing i have found is someone else asking the same so i will repeat the thread.
Does anyone know why this is not working?
[Sleep, 5,[Note, "Hello"], 1]
It does work with other events like 4, wich listens for the left mouse button but not for the time.

Thankyou.
R.

marcus_civis
02-27-07, 01:14 AM
Yes, I've never been able to get it to work. I presume it is a bug. As you say, it will work for some other events, such as keypresses and mouse movements.

Edit: if using time lapse is important to your script then you can use the Sleep command to keep track from the [ZBrushInfo runtime (every mouse click or whatever). My Timer script (http://www.zbrushcentral.com/zbc/showthread.php?t=23620) may give you some ideas.

swat3d
02-27-07, 05:15 AM
Cool mate, Thanks!
I'll give it a try and i will post the final script asap.

Anyway i hope a new version of Zbrush comes out soon with all these ZScript bugs fixed. 2.5??? :D

Ruben Henares
Arvirago
www.arvirago.com

swat3d
02-27-07, 05:24 PM
I have finished the script, it has been posted here:
http://www.zbrushcentral.com/zbc/showthread.php?t=42437

Thanks again.

Ruben Henares
Arvirago
www.arvirago.com