Forum rules - please read before posting.

Quickly skip through Actions/Dialogue

Is there a way to quickly skip through dialogue and actions. Like a fastforward button?

Comments

  • edited September 2020

    The EndCutscene input can be used to skip gameplay-blocking ActionLists in a single-frame.

    To speed things up, you'd need to control the TimeScale value, which can be done with the Engine: Change timescale Action.

    Placed inside an ActionList asset, you can either map this to a Menu Button, or to an input key via an Active Input.

    To have the game revert back to regular TimeScale once you re-enter normal gameplay, you can hook into the OnEnterGameState event through scripting:

    using UnityEngine;
    using AC;
    
    public class ResumeTimescale : MonoBehaviour
    {
    
        private void OnEnable () { EventManager.OnEnterGameState += EnterGameState; }
    
        private void OnDisable () { EventManager.OnEnterGameState -= EnterGameState; }
    
        private void EnterGameState (GameState _gameState)
        {
            if (_gameState == GameState.Normal) KickStarter.playerInput.SetTimeScale (1f);
        }
    
    }
    
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.