Forum rules - please read before posting.

Enabling text scrolling for some dialogues

Hi

Is it possible to enable scrolling (typewriter effect) for certain dialogues or lines of text in an actionlist? I have some robots that I'd like to enable the typewriter effect for. I can use a script to enable the effect before I start the actionlist but seems ideal to have a tick box that says "enable scrolling".

Any ideas?

Olly

Comments

  • It's a global setting, rather than a per-character one - you'd need to affect the Scroll speech text? field in the Speech Manager through script.

    If you already have a script to do this, you can call it within the ActionList itself by running the Object: Call event Action. If you place your script on a prefab, you can reference the prefab directly (not inside the scene), and then select a function that sets it to the correct state, e.g.:

    public void TurnOnScrolling ()
    {
        AC.KickStarter.speechManager.scrollSubtitles = true;
    }
    

    If you wanted to avoid having to locate this prefab each time, you could move this Action to a separate ActionList asset, and then run it via the ActionList: Run Action whenever you wanted to enable scrolling.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.