Entra:     


Forum: General Discussion

Topic: VDJScript - How to evaluate state T_MODE?
HI,
my controller offers a button that in activity is shown as T_MODE=on/off.

Question: how can I evaluate that state in script?
I want to remapp my "loop" button as follows:

$t_mode = 'on' ? loop_select 1 & loop : loop
T_MODE = 'on' ? ...

Tried both without success.
Any idea?

I have a Reloop Mixtour controller, if that matters.
 

Inviato 17 hours ago
t mode button calls this

set cuemode 0
therefore, your loop button should be mapped as so
var cuemode 0 ? loop_select 1 & loop : loop
 

I ment I want to detect the "while t_mode button is pressed down" state.
cuemode 0 is a state that is also active when t_mode button was released (it only switches the cuemode-banks).
 

t mode button
set cuemode 0 & set $myShift 1 while_pressed


var $myShift 1 ? loop 1 : loop
 

Thanks a lot :)