How to set modifier m2 = m1 + 1 ?

670 viewsGeneral
0

Hello,

I have a reaction that set modifier 1 m1 to the selected track.

Then I want to make another reaction so that :

m2 = m1 +1
m3 = m1 +2

etc

What is the custom code to input in reaction?
I dont know Python 3.

Thank you !

admin Changed status to publish May 22, 2024
Attached Files:
0

self.set_modifier_value is used to set the value of a modifier
And you get the value of a modifier with self.get_modifier_value
m2 = m1 +1 would be constructed like this…
self.set_modifier_value(“m1”, self.get_modifier_value(“m2”) + 1)

admin Changed status to publish May 22, 2024
Attached Files: