A confirmation on how this works?
Posted: 07 Apr 2015 12:45
I think I have read it some long time ago somewhere.....
I also can confirm with a small test template......
But I reaaallly really would like some confirmation by others.....
So, my question is....when a script is residing in an object and that script refers to another object in the template, then Lemur works from THAT level of hierarchy and upwards...NOT from top - level down. Is this correct?
How I tested:
Container1 - contains a Fader and a Knob. The Knob has a script which is:
Fader.x = x;
Now, I duplicate this container and naturally I end up with:
Container2 - STILL contains a Fader and a Knob - their names are not changed because in the hierarchy, they are inside different containers.
Now, moving the knob in Container2 STILL controls the Fader in the Container2 and NOT in the Container1.
All good....Im just worrying that I might bump into unexpected behavior in the long run? or is it totally ok to leave it as is and not go:
Container1.Fader.x = x; for the knob in Container1
Container2.Fader.x=x; for the knob in Container2
I also can confirm with a small test template......
But I reaaallly really would like some confirmation by others.....
So, my question is....when a script is residing in an object and that script refers to another object in the template, then Lemur works from THAT level of hierarchy and upwards...NOT from top - level down. Is this correct?
How I tested:
Container1 - contains a Fader and a Knob. The Knob has a script which is:
Fader.x = x;
Now, I duplicate this container and naturally I end up with:
Container2 - STILL contains a Fader and a Knob - their names are not changed because in the hierarchy, they are inside different containers.
Now, moving the knob in Container2 STILL controls the Fader in the Container2 and NOT in the Container1.
All good....Im just worrying that I might bump into unexpected behavior in the long run? or is it totally ok to leave it as is and not go:
Container1.Fader.x = x; for the knob in Container1
Container2.Fader.x=x; for the knob in Container2