Passing arguments to MAS script?
Posted: Sat Jan 19, 2013 7:45 pm
Is there a way to directly or indirectly pass arguments to an MAS script?
I want to have a script alter its operation based on different things when I run it...
so can scripting say read the value of a fixture? or can I send arguments from the remote control via DMX and read them in a script?
for example I wrote an effect that does a "spin" for a mega christmas tree.. sometimes I might want it blue.. othertimes red.. othertimes change on the fly.. obviously im filling up storage bins rather quickly to duplicate the script each time..
so if I had a way to read some outside source and operate my script accordingly.. or better yet be able to read say a DMX value from within.. so I could even change my script operation on the fly...
-Christopher
I want to have a script alter its operation based on different things when I run it...
so can scripting say read the value of a fixture? or can I send arguments from the remote control via DMX and read them in a script?
for example I wrote an effect that does a "spin" for a mega christmas tree.. sometimes I might want it blue.. othertimes red.. othertimes change on the fly.. obviously im filling up storage bins rather quickly to duplicate the script each time..
so if I had a way to read some outside source and operate my script accordingly.. or better yet be able to read say a DMX value from within.. so I could even change my script operation on the fly...
-Christopher