Deactivate variable/change address name

Discuss problems and solutions.
Post Reply
ndivuyo
Regular
Posts: 278
Joined: 23 May 2014 00:24

Deactivate variable/change address name

Post by ndivuyo »

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!!!!
ndivuyo
Regular
Posts: 278
Joined: 23 May 2014 00:24

Re: Deactivate variable/change address name

Post by ndivuyo »

update* figured out a solution, but is a ton of work (cuz the project is so big). If you have some light on deactivating the variable via script though, I would love to hear it still!
Post Reply