Search found 3 matches

by thifcosta
February 25th, 2019, 5:00 pm
Forum: Scripts Discussion
Topic: Define maximum wait time during "do... while" loop?
Replies: 1
Views: 1278

Re: Define maximum wait time during "do... while" loop?

I had posted the same question on creative cow and got an answer from Oleg Pirogov , that worked exactly as I was expecting... He said: "How about setting var start = Date.now() before loop and adding && (Date.now()-start < 2000) to while?" the code ended up like this: var keyPress = false; var what...
by thifcosta
February 25th, 2019, 1:01 pm
Forum: Scripts Discussion
Topic: Define maximum wait time during "do... while" loop?
Replies: 1
Views: 1278

Define maximum wait time during "do... while" loop?

Hi! I'm writing a script that needs user interaction to define what the next step is going to be. For that, I wrote a do..while loop that expects a keyboard input. So in the example below, you have to run the script and then press the key "1" or "2" and the script will alert the key name. It is work...
by thifcosta
October 31st, 2017, 3:46 pm
Forum: Script requests
Topic: Control speed influence between two keyframes with marker
Replies: 0
Views: 4105

Control speed influence between two keyframes with marker

Hello everybody, just thought of something that I think could be usefull for a lot of people. Everytime I try to make more complex camera movements, I end up parenting the camera to more than one null in sequence. This way, I can control, for example, specific camera movements from one null, while t...