Notifications
Clear all
[Closed] Local declarations not working in script controller
Page 2 / 2
Prev
Nov 19, 2006 5:42 am
Hi zbuffer,
Your suggestion still yields the same result :(…no incrementation.
Nov 19, 2006 5:42 am
Here is how to do it:
*Add a Custom Attribute to the Scripted Controller’s track.
*Assign a Bezier Float controller to the Parameter in the Custom Attribute
*Create a variable called var1 in the Scripted Controller
*Assign the Controller of the CA Parameter to the variable
*In the Scripted Controller, enter
var1.value += 1
print var1.value
[0,0,0]
Scrub the time line – the value will increment.
How you are going to reset it though is another story and up to you…
Page 2 / 2
Prev