RPG Maker VX Ace
Timed User Input – Lite Version
Introduction
This Script is intended to allow you to Simulate User Input in ANY Scene at ANY time by entering a series of simple script commands.
Features
- Simulate User Input at specific times
- Very easy to use
- Highly Compatible
- I like shiny things
The Code
License Terms
Attribution-ShareAlike 3.0 Unported - You must attribute the work in the manner specified by the author or licensor. The licensor permits others to distribute derivative works only under the same license or one compatible with the one that governs the licensor's work. Commerical use allowed.
Instructions
How to use:
timed_input(wait=n, key)
Wait is Wait Time in Frames before simulating the key as the Button pressed.
Key is a CAPITAL LETTER of the corresponding Input Key or WORD. That means you dont need to put in Input:OWN, you can just put in the word DOWN in all capital letters.
See Script and Demo for examples.
Author Notes
My goal with this script is to reach as close to a 100% compatibility rating as I can get.
NOTE: There are TWO VERSIONS of this Script. This is the LITE VERSION. Both versions are very similar, but for sake of compatibility, a LITE VERSION was born. Some of the features in the Full Version may not be needed at all, but they may also lower the compatibility.
The Lite Version is compatible with RMXP, RMVX, and RMVXA.
Update: Minor update to fix compatibility with VX and Ace. Verified as compatible in all versions.
Compatibility
I believe this will be nearly 100% compatible with other Scripts, including other Input Scripts! If there are any compatibility issues, please let me know and I’ll do my best to correct them.
Credits & Thanks
Diagostimo for providing the original code that was expanded on.