Deactivate variable/change address name
Posted: 15 Oct 2014 04:18
Hey ya'll,
I'm building a layout and at one point needs to receive a lot of incoming data from a different custom made variable in the object. You use a switch to turn on that receiving mode, the switch is called [Edit]. So the script is something like if(Edit.x==1)x=r; What I need to do is have the x variable not send to the OSC target during that time. I don't care how it's done, but I can't seem to change the address name (through setattribute command) nor can I figure how to change the OSC target number for that object when Edit.x==1 (oscout obviously doesn't do that) so is there a way to deactivate the x variable in that instance (like unchecking it)? Any other solution would be great (just keep in mind I'm doing this for a ton of objects)
thanks!!!!
I'm building a layout and at one point needs to receive a lot of incoming data from a different custom made variable in the object. You use a switch to turn on that receiving mode, the switch is called [Edit]. So the script is something like if(Edit.x==1)x=r; What I need to do is have the x variable not send to the OSC target during that time. I don't care how it's done, but I can't seem to change the address name (through setattribute command) nor can I figure how to change the OSC target number for that object when Edit.x==1 (oscout obviously doesn't do that) so is there a way to deactivate the x variable in that instance (like unchecking it)? Any other solution would be great (just keep in mind I'm doing this for a ton of objects)
thanks!!!!