VDJPedia



 Use a combination of buttons to trigger two different actions

Last edit by Adion, Atomix Productions on Sat 23 Mar 19 @ 1:50 pm

To use a combination of buttons to trigger two different actions (I.e: SHIFT button):

VDJscript for the button that will act as the modifier, i.e: SHIFT:

set '$shift' 1 while_pressed


Button to perform two different actions depending on the state of SHIFT button, e.g: FX:

var '$shift' ? effect_active 'backspin' : effect_active 'Flanger'


This causes the button to trigger flanger on its own, and backspin if SHIFT+button is pressed.


Return to VDJscript examples...