![]() |
![]() ![]() ![]() ![]() ![]()
|
next newest topic | next oldest topic |
Author | Topic: countTriggersMod reset? |
Bill Meadows Member |
![]() ![]() ![]() Is there a way to reset "countTriggersMod"? I'm using it in a Sound in a Timeline. If I re-run the Timeline without re-compiling, then when it enters the Sound with this expression, the count increments from the last value from the previous run. I would like to be able to reset the count to zero, but haven't found a way. (I tried setting it in another SoundToGlobalController object, but that didn't do it.) IP: Logged |
Phi Curtis Member |
![]() ![]() ![]() Hi Bill, I think I started a thread about this awhile ago. Here are the solutions I came up with: | curCount | (curCount - ((!Start sampleAndHold: curCount) + 1)) \\ !Mod + 1
!Start of: #( Try pasting these into a SoundToGlobalController. !Start is a toggle, of course. Hope this works for you. I don't think I've tried it in a timeline, but it should be fine... PS. These are recounting from 1, but I think just drop the + 1 from the end of the second expression. [This message has been edited by Phi Curtis (edited 28 January 2009).] IP: Logged |
All times are CT (US) | next newest topic | next oldest topic |
![]() ![]() |
This forum is provided solely for the support and edification of the customers of Symbolic Sound Corporation.