Hello,
I'm am working to write a small script and use some variables with addition. This would keep me from writing over 200 individual lines of script to accomplish what I'm trying to do. Is this script possible? Using the variables inside the NodeSetParam script is where I am running into issues. I know using a single variable is possible, but is adding MATH to it (to the var) within the script possible? I know we can use single quotes around the variables with math for doing direct command, I was curious if it follows over to inserting them into scripts. Here is an example of what I'm trying.
dmx_offset = DMX_Start
Node_ct = 0
For 1 to 20
WDNodeSetParam,Math [1+'Node_ct'],3,Math [0+'dmx_offset']
WDNodeSetParam,Math [2+'Node_ct'],3,Math [2+'dmx_offset']
WDNodeSetParam,Math [3+'Node_ct'],3,Math [4+'dmx_offset']
WDNodeSetParam,Math [4+'Node_ct'],3,Math [6+'dmx_offset']
WDNodeSetParam,Math [5+'Node_ct'],3,Math [7+'dmx_offset']
Node_ct += 5
dmx_offset +=8
Next
Thanks for any input, I do appreciate it. Have a great weekend everyone!