I have an animation channel with keyframes with various integer values. In CHOPs, I'd like to have a rolling counter that holds the sum of values on all preceding keyframes (values from keyframes only, not values from all preceding frames). Any idea how to do this? Below is a sample of what the counter would do:
Keyframe on frame 1: value 3, counter: 3 (3)
Keyframe on frame 8: value 8, counter: 11 (i.e 3+8)
Keyframe on frame 13: value 4, counter:15 (i.e 3+8+4)
Keyframe on frame 23: value 4, counter:19 (i.e 3+8+4+4)
Keyframe on frame 29: value 7, counter: 26 (i.e 3+8+4+4+7)