Remove 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 keep it from getting in the way of my events, my battles will instead be dialogue based that end when the correct answers are selected. I am aware that it can be phrased out of the games script but i'm not sure where it is and most of the answers in google were for vx ace, not getting anywhere with plugins either, so I have decided to ask here.


battle system.png
 
Last edited by a moderator:

Joewoof

Veteran
Veteran
Joined
Oct 28, 2015
Messages
123
Reaction score
57
First Language
English
Scene_Battle._statusWindow.close();
Scene_Battle._partyCommandWindow.close();
Scene_Battle._actorCommandWindow.close();


Try adding the above Script to Turn 0 of Troop Events. If that doesn't work, change ".close();" to ".visible = false;". See if that works.
 

spitnik11

Jungler
Member
Joined
Mar 1, 2016
Messages
12
Reaction score
0
First Language
English
Primarily Uses
Scene_Battle._statusWindow.close();
Scene_Battle._partyCommandWindow.close();
Scene_Battle._actorCommandWindow.close();


Try adding the above Script to Turn 0 of Troop Events. If that doesn't work, change ".close();" to ".visible = false;". See if that works.
Thank-you for your reply, the script is returning the error message "cannot read property 'close' of undefined" for the first choice and "cannot set property 'visible' of undefined" for the second choice you gave me. I placed it in the first event line for the troop events as a script. I'm still a newbie so i'm not sure what went wrong.
 

Joewoof

Veteran
Veteran
Joined
Oct 28, 2015
Messages
123
Reaction score
57
First Language
English
Hmm, I think Scene_Battle doesn't immediately create the status window on battle start. I think it'll work on Turn 1, but that'll defeat the purpose. I'll have to get back to this later.
 
Last edited by a moderator:

spitnik11

Jungler
Member
Joined
Mar 1, 2016
Messages
12
Reaction score
0
First Language
English
Primarily Uses
Last edited by a moderator:

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

Latest Threads

Latest Profile Posts

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.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,860
Messages
1,017,038
Members
137,567
Latest member
sashalag
Top