Read our community note - here.
Allow, Disallow don't work anymore when I reopen the saved Instrument

Hi there,
when I wrote the allow, disallow script for every ui_switch everything works fine. as soon as I'm save the instrument and reopen it, it's not working anymore.
if ($reverse # 0)
disallow_group($ALL_GROUPS)
allow_group(1)
end if
if ($strum # 2)
disallow_group($ALL_GROUPS)
allow_group(2)
allow_group(0)
end if
if ($motor # 3)
disallow_group($ALL_GROUPS)
allow_group(3)
allow_group(0)
end if
if ($heaven # 4)
disallow_group($ALL_GROUPS)
allow_group(4)
allow_group(0)
end if
if ($warpping # 5)
disallow_group($ALL_GROUPS)
allow_group(5)
allow_group(0)
end if
end on
can anyone help me with this?
@EvilDragon do you have a solution for me?
Thanks
Comments
-
theses are the switches that I use:
declare ui_switch $REVERSE
move_control_px($REVERSE,521,69)
make_persistent($REVERSE)
set_text ($REVERSE,"REVERSE")
set_control_par(get_ui_id($REVERSE), $CONTROL_PAR_HIDE, $HIDE_WHOLE_CONTROL)
declare ui_switch $STRUM
move_control_px($STRUM,521,85)
make_persistent($STRUM)
set_text ($STRUM,"STRUM")
set_control_par(get_ui_id($STRUM), $CONTROL_PAR_HIDE, $HIDE_WHOLE_CONTROL)
declare ui_switch $MOTOR
move_control_px($MOTOR,521,101)
make_persistent($MOTOR)
set_text ($MOTOR,"MOTOR")
set_control_par(get_ui_id($MOTOR), $CONTROL_PAR_HIDE, $HIDE_WHOLE_CONTROL)
declare ui_switch $HEAVEN
move_control_px($HEAVEN,521,117)
make_persistent($HEAVEN)
set_text ($HEAVEN,"HEAVEN")
set_control_par(get_ui_id($HEAVEN), $CONTROL_PAR_HIDE, $HIDE_WHOLE_CONTROL)
declare ui_switch $WARPPING
move_control_px($WARPPING,521,133)
make_persistent($WARPPING)
set_text ($WARPPING,"WARPPING")
set_control_par(get_ui_id($WARPPING), $CONTROL_PAR_HIDE, $HIDE_WHOLE_CONTROL)
0
Categories
- All Categories
- 19 Welcome
- 1.6K Hangout
- 66 NI News
- 847 Tech Talks
- 4.3K Native Access
- 17.4K Komplete
- 2.1K Komplete General
- 4.6K Komplete Kontrol
- 6K Kontakt
- 1.6K Reaktor
- 396 Battery 4
- 883 Guitar Rig & FX
- 447 Massive X & Synths
- 1.4K Other Software & Hardware
- 6.1K Maschine
- 7.7K Traktor
- 7.7K Traktor Software & Hardware
- Check out everything you can do
- Create an account
- See member benefits
- Answer questions
- Ask the community
- See product news
- Connect with creators