Galenmereth

Retired
Veteran
Joined
May 15, 2013
Messages
2,248
Reaction score
2,163
First Language
English
Primarily Uses
N/A
TDDP_WaitEx 1.0.1
Galenmereth

Introduction
This plugin allows you to call Wait events using minutes, seconds, variables, and more. Useful when you need to time waits to music, sound effects, or other units of time that make converting -- and reading -- frames inconvenient.

Using variables as wait duration also expands the possibilities of what you can do without the need for excessive conditional branches.

Features
  • Very easy Plugin Command syntax. As simple as typing "Wait 2m 30s".
  • Use variables with any time unit. For example: "Wait v1m v2s".
  • Doesn't alter MV's internal wait functionality; simply converts any of the time units to frames and passes it on.
Screenshots
Not much to show in a screenshot, but have an example nonetheless:

TDDP_WaitEx_example.PNG


How to use
Use the following Plugin Command structure:

Code:
Plugin Command: Wait 2m 30s

You can combine any number of units in any order you want. So while impractical, you can do this:

Code:
Plugin Command: Wait 15s 1m 2m 10f

The default time unit is frames, so if you simply want to wait for a variable's value number of frames, you can simply write:

Code:
Plugin Command: Wait v1

Variables
You can use variables as values. For example:

Code:
Plugin Command: Wait v1m v2s 30f

This would wait variable 1's value in minutes, variable 2's value in seconds, and 30 frames.

Verbosity
If you feel like the units are a little hard to read, you can use more verbose aliases. For example:

Code:
Plugin Command: Wait 3minutes 15seconds 20frames

All available units of time
Code:
------------------------------------------------------------------------------
Unit         | Valid keys       | Example usage
- - - - - - -|- - - - - - - - - | - - - - - - - - - - - - - - - - - - - - - -
Frames       | f, frames, blank | 5f, 5frames, 5
Minutes      | m, min, minutes  | 2m, 2min, 2minutes
Seconds      | s, sec, seconds  | 8s, 8sec, 8seconds
Milliseconds | ms, milliseconds | 300ms, 300milliseconds

Note: Keep in mind that ~16 milliseconds will pass for each internal "tick" in MV's engine, so wait times that aren't multiples of 16 when using milliseconds will not be entirely precise.

Download
Grab the latest release here: TDDP_WaitEx.js

Changelog
Code:
------------------------------------------------------------------------------
Date       | Version | Description
- - - - - -|- - - - -|- - - - - - - - - - - - - - - - - - - - - - - - - - - -
04/05/2019 | 1.0.1   | Add support for no time unit, defaulting to frames

Credit
- Tor Damian Design / Galenmereth

License
Released under an MIT License (free for commercial use)
 
Last edited:

JohnOminae

Villager
Member
Joined
Mar 13, 2012
Messages
28
Reaction score
26
First Language
English
Primarily Uses
Other
Really nice plugin! As a composer, I'm definitely using this. Thank you so much for sharing this with everyone!
 

Nicke

Fortune seeker
Veteran
Joined
Apr 4, 2012
Messages
556
Reaction score
563
First Language
Swedish
Primarily Uses
RMMZ
Great addition. Might use this in my game. =)
 

Elliott404

Game404
Veteran
Joined
Jul 4, 2018
Messages
742
Reaction score
2,430
First Language
English
Primarily Uses
RMMV
Not a plugin everyone want but everyone need!
 

ShadowDragon

Realist
Veteran
Joined
Oct 8, 2018
Messages
4,121
Reaction score
1,571
First Language
Dutch
Primarily Uses
RMMV
its a nice plugin for some others, but its a bit similair than SRD wait plugin,
only that SRD can "wait for animation" and such, this one might be usefull for
other parts, but I can tell, its extremely easy to use from the look of it :)
 

Latest Threads

Latest Posts

Latest Profile Posts

I don't believe it. I actually did some proofreading in my game - and fixed some grammar errors! I feel so accomplished, knowing I can actually proofread my own writing!
...I've had a bad day, okay? Bad enough for me to want to proofread stuff. :yswt2:
Ughhh, July is not my month. Thankfully, it's nearly done.

I fixed the lips and noses for MZ! The files have been updated.
qQwgk8C.png

Everything below!
Ugh, I opened MV after a few weeks and I'm completely lost on what I was working on.
Does it happen to someone else or am I the only disorganized one around? :kaoswt:
xH5Fk2f.jpg
Today was not a really productive day, but at least i got some bust sketches going <3
E7QXZHNXoAIkpG8
hmm in exploring MZ with FOSSIL... I see I'll probably need to stick with MV for now as none of the menu altering plugins I use work on MZ lol. and I don't have the money to dump into what I would need in some cases to update plugins to their MZ versions. Everytime I think of converting, 5 or more reasons popup on why I shouldn't.

Forum statistics

Threads
113,670
Messages
1,076,546
Members
147,690
Latest member
thuthuatxocdia
Top