Hello, i use this script from efeberk and i want to be able to hide the window on ctrl, but I should not have this function in the entire game, but only at some points.. is it possible to add some kind of addition to the script so that i can configure switch to disable the script and enable it again? Thank you very much if someone can help me.
Code:
=begin
===============================================================================
Message Visibility by efeberk
Version: RGSS3
===============================================================================
This script will allow to player sets message window visible or unvisible with
a key.
Example : Press CTRL to hide message window and repress CTRL to show message
window.
--------------------------------------------------------------------------------
=end
module EFE
KEY = :CTRL
end
class Window_Message < Window_Base
alias efeberk_window_message_update update
def update
efeberk_window_message_update
if Input.trigger?(EFE::KEY)
self.visible = !self.visible
end
end
end