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
863
Reaction score
435
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 Posts

Latest Profile Posts

I want to learn Javascript to create a custom menu, but I don't really know where to start.
One uncomfortable truth that has withstood the test of time, is how most people will stand by while they see a crime happening, unless it's illegal to stand by. We probably wouldn't have stories about "special heroes" or games about heroes if the "everyday common folk" were largely capable of being heroes. Heroes face dangers that most people are not willing to.
I'm having toooo much fun designing the new MP (Mental Psyche) system. I've only worked it out for enemies so far, but it's fun to stun them, then go after their MP and delete them instead to farm for better item drops.
anyone know of a place I can promote my game? sorta like game awards but for indie devs, like a place where I can drop a trailer and like stir up some hype
Doing RPG Maker News for 17th October 2021

Forum statistics

Threads
115,882
Messages
1,093,696
Members
151,126
Latest member
LAB00M
Top