Next / Previous Preset in Expansions
-
The buttons I use for the factory content don't work as hoped for expansions. Previous sends the browser back into factory mode. Next works up to a point. I've seen a few posts on this but just wanted to clarify if there's a solution yet or not...
Thanks! :)
-
@DanH Have You Tried This:
Magically This Will Loop In All Categories :)inline function onPrevPresetControl(component, value) { if(value == 1) Engine.loadPreviousUserPreset(false); // False Will Go Across All Presets }; Content.getComponent("PrevPreset").setControlCallback(onPrevPresetControl);
-
@Natan Is that button momentary?
It's not really workig this end. Doing weird stuff
Seems to work ok on factory presets but more or less the same behaviour occurs in an expansion as before (jumping back into factory presets)
-
@DanH Yes, It's Momentary
And Can't Help Much More, The Expansion System Is All New To Me -
@Natan ok thanks. What are the other 'categories' you have used this button for?
-
@DanH It Loops Inside The Factory And Goes Across All Categories Factory Bank
-
Coming back to this as I've never found a solution. My next/ previous preset buttons looks like this:
//PRESET BUTTONS inline function onPRESETNEXTControl(component, value) { if (value == 1) { Engine.loadNextUserPreset(false); } }; Content.getComponent("PRESETNEXT").setControlCallback(onPRESETNEXTControl); inline function onPRESETPREVControl(component, value) { if (value == 1) { Engine.loadPreviousUserPreset(false); } }; Content.getComponent("PRESETPREV").setControlCallback(onPRESETPREVControl);
However in an Expansion they don't load the expansion presets but go back to loading the 'factory' ones. It's almost like we need an
Engine.loadNextExpansionPreset(false);
Or some way of referring to the Expansions presets. Any ideas anyone?