move command in an expression?
How can I use the command "move x y z" in an expression?
I created an boolean attribute "active" and in the expression editor I roughly wrote this script:
if (name.active==true)
name.move x y z;
I know I could have written name.translateX=x and so on, but I want to move the object "name" relative to itself. (actually it's the Chevron I want to move from my "stargate" project which you can see in the W.I.P section. The have to move towards the center)
Why doesn't it work?
Thanx for help!
Markuz