(solved) Almost done! Please help with timing issue.

Discuss problems and solutions.
Post Reply
mh175
Newbie
Posts: 23
Joined: 06 Oct 2012 16:42

(solved) Almost done! Please help with timing issue.

Post by mh175 »

I am suffering because I can't get my scripts to execute in the correct order.

I have a Multipads object that determines project-level Variable "r" when pressed. I also have 4 other project-level Variables (no1, n02 ,no3, no4) which are related to r by some simple math (ie. no1 = r+5).

The same Multipad object has a different script that sends noteon messages based on the results of no1, no2, no3, and no4.

My problem is that the order in which the events are triggered prevents the second script from receiving the new r value (and thus calculating the new "no"s value) before the message is sent.

Is there any way around this?

P.S. The script that converts r to no1,no2,no3, and no4 is set to Execution: On Frame because I need to constantly be listening to r values.
Last edited by mh175 on 09 Jan 2013 17:47, edited 1 time in total.
mh175
Newbie
Posts: 23
Joined: 06 Oct 2012 16:42

Re: Almost done! Please help with timing issue.

Post by mh175 »

Solved--- had to make my variables local to my pad object.
Post Reply