[RMMV]Hiding the battle status window during a cutscene in battle.

JohnDoe666

Warper
Member
Joined
Jun 24, 2019
Messages
2
Reaction score
0
First Language
English
Primarily Uses
RMMV
Hello!
Is there any way to hide the battle status window during a cutscene which is enabled via common event? I've searched the Internet for a solution, sadly none of the things I've learned in doing so fit into my game's perspective.

In the game I'm creating, most of enemy npc's attacks have a cutscene displayed with Show picture option via common event bound to an attack. Sadly the battle status window (the one with hp, mp, tp bars) partially covers the displayed picture. While I've managed to find a script call which hides the window layer, it also hides text messages which isn't something I want. Is there a way to temporarily hide the battle status window via script call, or perhaps with an existing plugin?
 

Trihan

Speedy Scripter
Veteran
Joined
Apr 12, 2012
Messages
2,338
Reaction score
1,495
First Language
English
Primarily Uses
RMMV
Use
Code:
SceneManager._scene._statusWindow.hide();
and
Code:
SceneManager._scene._statusWindow.show()
at the beginning and end of your cutscene common event.
 

JohnDoe666

Warper
Member
Joined
Jun 24, 2019
Messages
2
Reaction score
0
First Language
English
Primarily Uses
RMMV
Works perfectly.
Thanks!
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

When you realize @Kupotepo is a champion among RM Web users, and it all makes sense now:
Worst nightmare this morning, tried to get 20 minutes of work done on my project before heading to work and got hit with a POWER SURGE. Restarted my computer and the project was CORRUPTED, luckily I made a back up a few days ago so I only lost 4 days of work but still
Ami
what the other name of Elixir?

many games are use that,i want name it different.
What does your project folder look like?
I was told that an iPhone can provide a personal internet hotspot...You learn something new everyday!

Forum statistics

Threads
100,461
Messages
976,198
Members
132,082
Latest member
nwr
Top