WinterDepression

Villager
Member
Joined
Jun 16, 2021
Messages
5
Reaction score
1
First Language
English
Primarily Uses
RMMV
Hello do you know any plugins that lets you skip a movie with the click of a button?
For example you click esc and the movie is skipped.

I tried LTN skip_video which works fine for me, but for some other people its causing errors. I dunno how to solve that, so looking for any alternative.
 

Dev_With_Coffee

Veteran
Veteran
Joined
Jul 20, 2020
Messages
878
Reaction score
439
First Language
PT-BR
Primarily Uses
RM2k3
Hello! Try this:
JavaScript:
Graphics._video.currentTime=Graphics._video.duration;

To define the key, create an event in parallel process that checks if a video is running:
Code:
◆If:Script:Graphics.isVideoPlaying()
  ◆If:Button [Cancel] is pressed down
    ◆Script:Graphics._video.currentTime=Graphics._video.duration
    ◆
  :End
  ◆
:End

With Javascript:
JavaScript:
if(Graphics.isVideoPlaying()){
    Graphics._video.currentTime=Graphics._video.duration
}

If it has helped you, let us know here.

Edited:
Sorry I showed the method in RMMZ, I corrected it now.
 
Last edited:

Latest Threads

Latest Profile Posts

I was listening to songs by Chuck E Cheese's voice actor (Jaret Reddick from Bowling for Soup) when the meds I was taking for my stomach virus apparently stopped working. I can't take my next dose until morning, but it's no use anyway. I'm officially sick again. Of course, I'll definitely take the next dose either way, but it's useless now.
New profile picture! This time, it's representative of my current project.
I suddenly feel like making a game for little kids: a pointless sandbox of cute animals, silly collectibles, and random mini games.
Anyone else just like, not bother to make games themed around specific holidays? I know I won't get them done in time for it to make sense.
time to enter the playtest dimension

Forum statistics

Threads
115,992
Messages
1,094,703
Members
151,286
Latest member
Heretoga
Top