Resetting noloopcounter back to the FROM value

46 views
Skip to first unread message

WinkingFox

unread,
Jun 14, 2016, 8:55:21 PM6/14/16
to Lightjams
I'm using xtopercent(noloopcounter(1,70,1) / 10) to move a source along the x-axis and STOP at the last grid block - works great. But I am activating this grid from another grid and the counter never resets back to the starting FROM value "1" when the grid is activated. I haven't been able to make the resetFct parameter help and I've tried many other formula parameters including grid.onactivation. Can anyone help me with what should be a simple task?
Thanks!

Mathieu

unread,
Jun 15, 2016, 7:12:03 AM6/15/16
to Lightjams

The noloopcounter can have 4 parameters. The last parameter is to reset the counter. To reset each time the grid is activated, you can use the grid.onActivated variable:


xtopercent(noloopcounter(1,70,1, 0, grid.onActivated) / 10)

Reply all
Reply to author
Forward
0 new messages