Trying to send a message to live.step with js

Dec 22, 2012 at 11:45pm

Trying to send a message to live.step with js

I want to send a message to a live.step object, but don’t succeed when i want to do that with javascript. When i put this in a message-box in Max:

extra1 1 0 0 0 0

and click on it, it works fine and the first 4 sliders in the extra1-view are set to 0. How do i do this with js? I thought this would work:

object.message(‘extra1 1 0 0 0 0′);

But i get the error: live.step: doesn’t understand “extra1 0 0 0 0″
What am i doing wrong here?

#65790
Dec 22, 2012 at 11:47pm

i figured it out myself:

object.message(‘extra1′, [1, 0, 0, 0, 0]);

#236947

You must be logged in to reply to this topic.