Login / Registrieren
DE EN FR ES IT CZ
Zurück Nach oben

How to prevent skipping videos with ESC

  • #1, by AkcayKaraazmak 8 years ago Zitieren
    Hi guys,

    Is it possible to prevent skipping videos by pressing ESC. I can make ESC useless with LEE's script, but because it also opens the menu so I just need ESC to open the menu when pressed but not skipping videos.

    Cheers smile


  • #2, by shico 8 years ago Zitieren
    I think this topic was covered in this post here.

    Try the "hide cursor" action part under miscellaneous as AFRLme suggested in that post, and then "show cursor" after video. Could work for videos as it worked for the cutscenes.
  • #3, by afrlme 8 years ago Zitieren
    don't think that's possible mate with regular videos. you either disable escape entirely when videos are played or alternatively you could use the new in-scene video plugin thing that Simon created as those can't be skipped. Switch to an empty scene. wrap the video in a hide/show cursor thing with a pause the length of the video after the action part for playing the video.

    Do you really want people to be able to access the menu while a video is playing? If you don't then just disable esc when a video is showing & enable it once the video is done.
  • #4, by AkcayKaraazmak 8 years ago Zitieren
    Thank you mates, ... Lee you wrote that just disable the ESC, how I will do that? I wrote a small code just to open the menu with ESC but dont know how to diable it completly? ... As you say yea no need to open menu while  video is playingsmile .. But how I will do it? smile
  • #5, by afrlme 8 years ago Zitieren
    Insert an if query into the script to check if a condition or Lua variable is true or false.

    It's shown/explained here in the tutorial I wrote ages back. Back then videos still got skipped with ESC, but I don't know if that's the case anymore as I haven't tried testing it since.