License from €75 Log in
DE EN FR ES IT CZ

How to disable skipping cutscenes

This thread is a few years old. Some details may refer to an earlier version of Visionaire Studio. Current tutorials

  1. · 12 years ago
    Heyas, I've used "start cutscene" and "end cutscene" to remove control from my players when needed. Is there a way to stop players from hitting ESC to skip this?
  2. Working on a game?

    The free version covers up to 25 scenes per project. For more scenes and to sell your game, you need a license.

    See licenses Try it for free
  3. · 12 years ago
    Sure... I've already mentioned how to do this in other threads before, but the simplest method would have been to use the hide / show cursor action parts instead. They are more or less same as cutscene wrap, but they don't hide interfaces & they can't be skipped with esc key.

    However, you could include this as a definition script....
    function keyboardHandler(eventType, character, keycode, modifiers)
     if Conditions["k_esc"].ConditionValue == false and keycode == eKeyEscape then return true end
     return false
    end
     
    registerEventHandler("keyEvent", "keyboardHandler")	
    

    ... you need to create a condition called k_esc somewhere. To enable / disable esc key, you just toggle the condition. True = enabled, false = disabled.

    All good? wink
  4. · 12 years ago
    https://dl.dropboxusercontent.com/u/20899096/kickstarter-transparent-300x187.png

    Cheers, once again thank you.
  5. · 12 years ago
    haha. Clever git! grin

This thread is closed because nobody has replied for more than a year. Feel free to ask your question in a new thread.

New thread

Really delete this post?