Prevent Deactivation
#6
(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
Reply }


Messages In This Thread
Prevent Deactivation - by DerVVulfman - 03-24-2019, 03:33 AM
RE: Prevent Deactivation - by kyonides - 03-24-2019, 11:34 AM
RE: Prevent Deactivation - by DerVVulfman - 03-24-2019, 06:32 PM
RE: Prevent Deactivation - by DerVVulfman - 03-24-2019, 08:21 PM
RE: Prevent Deactivation - by kyonides - 03-25-2019, 04:40 PM



Users browsing this thread: 1 Guest(s)