Accessing the Scene Title Variable (Storyline 3)

I am looking to capture the Storyline variable that corresponds to the scene title so that it will automatically set my currentScene variable to display the section title in the header of the content slide.

I have tried the following which are designed to capture the slide title, and neither of these worked:

  • curslide = story.allSlides[player.slideIndex].title;
  • var player = GetPlayer();
    player.SetVar("CurrentSlide",story.allSlides[player.slideIndex].title);

(Yes, I know these are written to capture and display the slide title, but if it worked, I could probably figure out how to display the scene title.)

Has anyone discovered a means to do this without having to manually trigger and change the value of my currentScene variable?

3 Replies