General

simple buttom question

Started by digitalson on .

Sign in or create an account to join the conversation.

13 posts

I used to do it how softcore mentioned, until he pointed out the multislider physics apply even when you change the value from a script. That's what I've been using for my short timers and animations lately, and it works awesome (and is inexpensive I think?)

I gotta run, but:
--- for an on frame script
-make a script execute on frame
-make an array or a couple variables. 1 value will be a trigger and the other will be a timer
-have a script when you press the button and have that turn the trigger array value to '1' or whatever
-in the on frame script have it check when that trigger value ==1 then have the timer value increment (++)
-then if/when the timer reaches your desired value, you trigger the other action and reset the timer and trigger values.

But with a multislider, you can create a trigger/timer system and the timer will just be the time it takes for the multislider to reach '0' or wherever the gravity is pulling to.


ok gotta go!!!
ndivuyo wrote:I used to do it how softcore mentioned, until he pointed out the multislider physics apply even when you change the value from a script. That's what I've been using for my short timers and animations lately, and it works awesome (and is inexpensive I think?)
Indeed thats what I thought too, exactly why I was happy to discover this

@ digitalson: One question though, is it going to be a Pad object or a switch object?
thanks sooo much,,,its gonna clear up lots of buttons,,,,and if u or anyone are using cubase ,my lemur project is killer,took me 3 months to do,and had to change lots from nuendo 6.5 to cb pro 8,i will send it when done,it prob has 400kc's
hey i tried the delay thing,and its not really working correct maybe cause its a pad not a button,when pressed and held it still does the 1st command,so heres an idea,,,,can i use a switch to change the action of a button,? cause i can wrap 2 or 4 switches around a button, how can that be done, a switch that changes the output of a button?