(03-25-2019, 07:26 PM)Thank you for this Wrote: Thanks for this script. I am noob to RPG Maker, let alone Ruby. But this script is exactly what I needed.
I had to change a bit so the game still accepts input while the window is inactive. Luckily, the instructions in the file was clear enough for me to understand and commented that part out.
I tried with SpecialK to do what I need, but it didn't hook at all. Thank you again for this.
EDIT 2: It works :) I had to start a new game. I guess the old save file still uses the old script system somehow.
For those who is curious, I edited this part out so the game would still accept player input while the window is inactive (for controller)
Code:
# Only accept player input if the game window is in focus
# def self.update
# update_if_game_in_focus if MessageIntercept::Flag_Deactivate.getbyte(0) == 1
# end