This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Equal script to FBeditor input selection switch
#2
Something like this should do.

TAG all input objects and select and create event script from this TAG
Code:
select = grp.getvalue('1/1/1')
input1 = grp.getvalue('1/1/2')
input2 = grp.getvalue('1/1/3')
input3 = grp.getvalue('1/1/4')
outgrp = '1/1/5'



if select == 1 then
grp.checkwrite(outgrp, input1)
elseif select == 2 then
  grp.checkwrite(outgrp, input2)
elseif select == 3 then
  grp.checkwrite(outgrp, input3) 
end
------------------------------
Ctrl+F5
Reply


Messages In This Thread
RE: Equal script to FBeditor input selection switch - by Daniel - 14.01.2022, 13:44

Forum Jump: