The RPG Maker Resource Kit

RMRK RPG Maker Creation => MV => MV Scripts Database => Topic started by: Glasses on February 25, 2016, 10:48:15 PM

Title: Skill Time Reaction
Post by: Glasses on February 25, 2016, 10:48:15 PM
Name: Skill Time Reaction
Version: 1.2
Author: Mr. Trivel
Created: 2016-02-26
 

What does it do?
This plugin gives user a moment to press confirm button. Pressing Confirm when button appears, gives user state which lasts until end of action.
Button timer can be set up in plugin manager or for each skill by using note tags.
 

Video:
https://www.youtube.com/watch?v=DFAqkjWwWro
 

Requires:
Yanfly's Battle Engine Core (http://yanfly.moe/2015/10/10/yep-3-battle-engine-core/)
 

How to use?
When a skill has <Reaction> tag in it, it will display an image for a random amount of time in which player can press confirm button to strengthen the skill used.
<Reaction>
<ReactionAppear: [FROM] [TO]>
<ReactionWindow: [FROM] [TO]>
<ReactionState: [STATE ID]>
[FROM] [TO] - How long the window lasts or appears. It'll pick a random number of frames between [FROM] and [TO] ([FROM] <= time < [TO]).
[STATE ID] - Which state to apply when hitting the button in react window.
 
Only <Reaction> tag is a must to have the reaction window. Other tags like <ReactionAppear: [FROM] [TO]>, <ReactionWindow: [FROM] [TO]> or <ReactionState: [STATE ID]> can be omitted to use default values from parameters.
 
Examples:
<Reaction>
<ReactionWindow: 50 100>
<ReactionState: 15>
 
<Reaction>
<ReactionState: 50>
 
It's also required to have 2 images in your img\system:
reactionWait.png
reactionHit.png
 

Images:
reactionwait.png reactionhit.png
 

Plugin: <GitHub> (https://github.com/Trivel/RMMV/blob/master/MrTS_SkillTimeReaction.js)
How to download Plugin. Click the link above, there will be a button named Raw, press Right Click -> Save As.
 

Terms of Use:
Don't remove the header or claim that you wrote this plugin.
Credit Mr. Trivel if using this plugin in your project.
Free for commercial and non-commercial projects.