Forum

    • Register
    • Login
    • Search
    • Categories

    Next / Previous Preset in Expansions

    General Questions
    2
    7
    82
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • DanH
      DanH last edited by

      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! 🙂

      1 Reply Last reply Reply Quote 0
      • Natan
        Natan last edited by Natan

        @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);
        
        DanH 1 Reply Last reply Reply Quote 1
        • DanH
          DanH @Natan last edited by DanH

          @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)

          Natan 1 Reply Last reply Reply Quote 0
          • Natan
            Natan @DanH last edited by

            @DanH Yes, It's Momentary
            And Can't Help Much More, The Expansion System Is All New To Me

            DanH 1 Reply Last reply Reply Quote 0
            • DanH
              DanH @Natan last edited by

              @Natan ok thanks. What are the other 'categories' you have used this button for?

              Natan 1 Reply Last reply Reply Quote 0
              • Natan
                Natan @DanH last edited by

                @DanH It Loops Inside The Factory And Goes Across All Categories Factory Bank

                DanH 1 Reply Last reply Reply Quote 0
                • DanH
                  DanH @Natan last edited by

                  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?

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post

                  3
                  Online

                  977
                  Users

                  6.6k
                  Topics

                  60.6k
                  Posts