instarobe_support
KINET_support

wygenabled

ASIO

Home | Forum | MADRIX - lighting controller software | Experiences and 'How To' questions | script variables passed between the 4 script areas
View unanswered posts | View active topics It is currently Tue May 22, 2012 12:14 am



Post new topic Reply to topic  [ 2 posts ] 
 script variables passed between the 4 script areas 
Author Message

Joined: Fri May 13, 2011 11:09 am
Posts: 19
Post script variables passed between the 4 script areas
i wish to make a MAS script in the first layer whose sliders and buttons will control various other effect's parameters in the other layers in that same storage place thus using the MAS effect as a control facility rather than an effect .

by doing this you can have a great amount of simultaneous and more sophisticated control at your fingertips when doing manual live show .
e.g you could have the speed of DROPS decreasing as the width increases in one layer while the width of SHAPES are increasing in the next layer while something else is changing in another etc etc .
of course there are much better ways than the quick example i have just given but I think this sort of control can add an extra dimension to live show manipulation.

I am very new to scripting and i am finding it very hard to get my head around it all .
so i am asking is there a way to make the variables i create in e.g the MAS script , available in the EFFECTS script .(and potentially accross storage place and main output macros too)
i would create a slider A.....

ctrlslider A = {"slider", 0, 0, 100};,

make variable B the value of the slider .....

int B = A.value ;

then in other layers in the macros for effects , use B 's value to control various different parameters in those layers .

Am i missing something glaringly obvious here or is not that simple , or not possible and if so can it be made possible ?

Roderic


Sat Jan 28, 2012 8:34 pm
Profile

Joined: Mon Oct 05, 2009 5:26 pm
Posts: 134
Post Re: script variables passed between the 4 script areas
Hi Roderic,

Unfortunately, both is not possible.
One cannot pass variables in the Effect Macros (or Layers) and you can also not pass them between all 4 instances (MAS Script Effect, Effect Macros, Storage Place Macro, Main Output Macro).

It is an interesting idea though, I'll have to admit.


Thu Feb 09, 2012 12:17 pm
Profile
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 


Who is online

Users browsing this forum: Google [Bot] and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by Vjacheslav Trushkin for Free Forums/DivisionCore.