How to set timeline in code? #695
              
                Unanswered
              
          
                  
                    
                      mechPenSketch
                    
                  
                
                  asked this question in
                Q&A
              
            Replies: 2 comments 3 replies
-
| I'm not sure if I know what you want. To simply start a timeline from code doYou can also do 'MyFolder/MyTimeline' if that's how you folderstructure is set up. To start a timeline that was created through code do | 
Beta Was this translation helpful? Give feedback.
                  
                    3 replies
                  
                
            -
| I've made a PR that lets me set the timeline through code: https://github.com/coppolaemilio/dialogic/pull/710 | 
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
Previous when dialog was a Singleton, I can call
Dialogic.set_current_timeline(timeline)when I want to change timeline. Now, that method would not work. Neither doesDialogic.start(timeline).Maybe I supposed to call through the newly-defined dialog node:
However, I can't find the right method to change the timeline. Is there a way to change the timeline, or is it not implemented yet? Is it currently touched on? If not, I could work on it.
Beta Was this translation helpful? Give feedback.
All reactions