[Solved]Prevent battle window from popping up

spitnik11

Jungler
Member
Joined
Mar 1, 2016
Messages
12
Reaction score
0
First Language
English
Primarily Uses
I am attempting to prevent the player battle window and all of its functions from even popping up to have my battle sequence instead progressed by events only. User Joewoof has provided this simple script to be placed on turn 0 of the troop event line in an attempt to prevent the battle windows from popping up


Scene_Battle._statusWindow.close();
Scene_Battle._partyCommandWindow.close();
Scene_Battle._actorCommandWindow.close();


but it returns the errors "cannot read property 'close' of undefined" for the first choice and "cannot set property 'visible' of undefined"  when changing ".close();" to ".visible = false;" so I am now posting the question here as I now have a possible script to work with.


battle system.png


Image for reference of what I am trying to remove.
 
Last edited by a moderator:

spitnik11

Jungler
Member
Joined
Mar 1, 2016
Messages
12
Reaction score
0
First Language
English
Primarily Uses
Haha, you sure are impatient. I was making a plugin for you. I just tested it and it works now. Here you go:


https://www.dropbox.com/s/op5gzpbl7br730t/DAX_HideBattleWindow.js?dl=0


Be sure to credit. I allow commercial use.
Holy cow bro I had no idea you were actually gonna come back, and with an entire plugin :D, I just tried it myself and it works wonderfully, your a genius! Sorry for not believing, I was getting desperate. I will totally put you in the credits and let you know when the game is finished, thanks again!
 

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

Latest Threads

Latest Posts

Latest Profile Posts

Free RPG Maker Ready Charging Up Animation

Enjoy -No Credit Needed But Appreciated -
Download it at https://lvgames.itch.io/free-charging-up-pixel-animation-fx-rpg-maker-ready
:/ .... so, thought I’d go to the park to sit in the cool breeze and get out of the house a little. Nope, guess that’s quarantined too. Ok...
How do you do when you want to work on projects but the game companies make so many games available for free because of the quarantine?
Kes
I have just stepped down from being a Mod, so please don't send me any more pm's with Mod questions. Thanks
Made a brief video showcasing early game play... Got a copyright claim by BIG UP! (https://big-up.style/) for using music I bought from here (Future Steam Punk Pack). Now I wonder if I should strip any purchased music from here out of my game. :LZSskeptic:

Forum statistics

Threads
95,484
Messages
929,491
Members
125,724
Latest member
Elender
Top