Toggle Message Window VX
#1
Toggle Message Window VX

by Kyonides

Introduction

It is normal for certain visual novels or VN's to let you hide the message window while an image is being displayed on screen.
This scriptlet allows you to achieve this in a very convenient way.
By the way, you can replace the A button with any other of the available buttons.

Code:
# * Toggle Message Window VX * #
#  2024-11-10

module Input
  HIDE_MESSAGE_BTN = A
end

class Window_Message
  alias :win_mess_up :update
  def update
    win_mess_up
    unless @opening or @closing
      if Input.trigger?(Input::HIDE_MESSAGE_BTN)
        self.visible = !self.visible
      end
    end
  end
end

Terms & Conditions

Free for use in ANY game. Gamer
Due credit is optional here, but at least mention this forum if you don't mind.
That's it! Tongue sticking out
"For God has not destined us for wrath, but for obtaining salvation through our Lord Jesus Christ," 1 Thessalonians 5:9

Maranatha!

The Internet might be either your friend or enemy. It just depends on whether or not she has a bad hair day.

[Image: SP1-Scripter.png]
[Image: SP1-Writer.png]
[Image: SP1-Poet.png]
[Image: SP1-PixelArtist.png]
[Image: SP1-Reporter.png]

My Original Stories (available in English and Spanish)

List of Compiled Binary Executables I have published...
HiddenChest & Roole

Give me a free copy of your completed game if you include at least 3 of my scripts! Laughing + Tongue sticking out

Just some scripts I've already published on the board...
KyoGemBoost XP VX & ACE, RandomEnkounters XP, KSkillShop XP, Kolloseum States XP, KEvents XP, KScenario XP & Gosu, KyoPrizeShop XP Mangostan, Kuests XP, KyoDiscounts XP VX, ACE & MV, KChest XP VX & ACE 2016, KTelePort XP, KSkillMax XP & VX & ACE, Gem Roulette XP VX & VX Ace, KRespawnPoint XP, VX & VX Ace, GiveAway XP VX & ACE, Klearance XP VX & ACE, KUnits XP VX, ACE & Gosu 2017, KLevel XP, KRumors XP & ACE, KMonsterPals XP VX & ACE, KStatsRefill XP VX & ACE, KLotto XP VX & ACE, KItemDesc XP & VX, KPocket XP & VX, OpenChest XP VX & ACE
Reply }


Possibly Related Threads…
Thread Author Replies Views Last Post
   Victor Engine - Toggle Target Victor Sant 0 5,264 01-25-2013, 07:37 AM
Last Post: Victor Sant
   Skip Party Command Window Helladen 0 4,919 07-27-2012, 06:43 AM
Last Post: Helladen
   Victor Engine - State Toggle Victor Sant 0 4,208 06-22-2012, 05:37 AM
Last Post: Victor Sant
   Universal Message System VX ccoa 2 9,730 03-10-2010, 07:01 PM
Last Post: DerVVulfman



Users browsing this thread: 1 Guest(s)