Welcome to the new and improved Native Instruments online community. Join our active forum of 40,000+ members for discussions and much more.
Modstrip value change on switch press

StephanS90
Member Posts: 3 Noise
Hi There,
i have a problem on my modswitch script. I want a switch to switch 2 Modstrips, between 2 Modstrip states. But it only works in one way. The "else" statment did not work but why? the functions in there are only for showing and hiding other switches.
Thx for your help
on ui_control($ModSwitch) if ($ModSwitch = 1) call show_fade $count := $STARTGRP while ($count < $STARTGRP3) set_engine_par($ENGINE_PAR_MOD_TARGET_INTENSITY,10 +$ModSwitch*7/50,$count,find_mod($count,"CC_VOLUME"),-1) set_engine_par($ENGINE_PAR_MOD_TARGET_INTENSITY,1000000 ,$count,find_mod($count,"CC_VOLUME_FADE"),-1) inc($count) end while else $count := $STARTGRP while ($count < $STARTGRP3) call hide_all set_engine_par($ENGINE_PAR_MOD_TARGET_INTENSITY,1000000,$count,find_mod($count,"CC_VOLUME"),-1) set_engine_par($ENGINE_PAR_MOD_TARGET_INTENSITY,10 +$ModSwitch*7/50 ,$count,find_mod($count,"CC_VOLUME_FADE"),-1) inc($count) wait(1000*1000) end while end if end on
Tagged:
0
Answers
-
may be see : on persistence_changed with a select function
0 -
Hi John thanx for your answer.
What do you mean with a select function?
cheeres Stephan
0 -
Any other ideas? I think i have an error somewhere in the code but i do not get it right.
I would be grateful for help. Thx
0
Back To Top
Categories
- 10.7K All Categories
- 20 Welcome
- 449 Hangout
- 58 NI News
- 210 Tech Talks
- 1.1K Native Access
- 4.9K Komplete
- 620 Komplete General
- 1.1K Komplete Kontrol
- 1.8K Kontakt
- 486 Reaktor
- 154 Battery 4
- 271 Guitar Rig & FX
- 202 Massive X & Synths
- 212 Other Software & Hardware
- 2.3K Maschine
- 14 Sampling Room
- 2.6K Traktor
- 2.4K 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