Original Source
- Original title: [Solved]Prevent battle window from popping up
- Original author: spitnik11
- Original date: March 7, 2016
- Source thread: https://forums.rpgmakerweb.com/threads/solved-prevent-battle-window-from-popping-up.58235/
- Source forum path: Game Development Engines > RPG Maker Javascript Plugins > Javascript/Plugin Support
Summary
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();
Archived First Post
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.
Protected download
Image for reference of what I am trying to remove.
Downloads / Referenced Files
Log in, then follow the RPG Maker Developers Group to see these download links.
Log in to downloadReferenced Images / Attachments
Creator Claims / Removal
If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.
Replies (0)
No replies yet.
Topic Summary
Loading summary...
