[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

People3_5 and People3_8 added!

so hopefully tomorrow i get to go home from the hospital i've been here for 5 days already and it's driving me mad. I miss my family like crazy but at least I get to use my own toiletries and my own clothes. My mom is coming to visit soon i can't wait to see her cause i miss her the most. :kaojoy:
Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.

Forum statistics

Threads
105,868
Messages
1,017,083
Members
137,583
Latest member
write2dgray
Top