Map as Battleback

When you try to enter a battle with no specified battleback, the battleback will be set to a screenshot of the map where you last paused to use your menu. (If it cannot find one I.E. you entered battle without ever going into the menu, it'll just be a black screen)
Since I use a plugin which runs a common event battle intro, would there be anyway to set it to take that screenshot during the battle transition through a script call?
Pretty much, I want to use a screenshot of the current map (and position the player's in) as the battleback.
script call alone won't be enough, you'll need a plugin giving that function.

and you should specify if you want a screenshot or a mapshot - the screenshot would include sprites like the player and NPCs, while the mapshot will only take the map tiles into account.
There are a few mapshot plugins (those are usually used for preparation to parallax mapping), and it should be possible to modify one for something like this.

I've moved this thread to Plugin Requests. Thank you.


Since it seems you will need one to accomplish this.
script call alone won't be enough, you'll need a plugin giving that function.

and you should specify if you want a screenshot or a mapshot - the screenshot would include sprites like the player and NPCs, while the mapshot will only take the map tiles into account.
There are a few mapshot plugins (those are usually used for preparation to parallax mapping), and it should be possible to modify one for something like this.

I see.
Well I suppose I'm looking for a screenshot of what the player can see, not just a mapshot. Since disappearing doors and such won't look too great. So events included in the shot.
I did find "Orange Screenshot saver" but from what I saw, it seems like it saves a screenshot of the entire map and doesn't work when the game is exported. Since I'm no good with plugins I don't know how to alter it.
I'm now looking for a plugin that can take a screenshot of what the player can see on their screen and use that as a battleback, preferably through a plugin command so I can specify when the screenshot happens in a common event battle intro. (I'll turn the actor on the map invisible before the screenshot is taken so they don't appear twice on screen.)

.
When you try to enter a battle with no specified battleback, the battleback will be set to a screenshot of the map where you last paused to use your menu
This is not true. A snapshot is taken prior to entering battle, under certain conditions. If it's not happening for you, then either those conditions aren't being met, or you have a plugin that overrides it.

I'm about to start work for the day, but if someone else has time to check it out, Scene_Map.prototype.updateEncounterEffect would be a good starting point.
but from what I saw, it seems like it saves a screenshot of the entire map
that is why I said they need to be modified, you can't use them as is.
But the fact that they exist proves that what you want is possible to do.
Found a solution using a script call
SceneManager.snapForBackground();

It worked. Including events.

Guess I didn't need a plugin. Although as Shaz said (and I tested) turns out it did screenshot normally and it was my custom intro plugin that caused it not to screenshot).
Either way, found a solution. Guess we can close this thread.

Original thread: https://forums.rpgmakerweb.com/threads/map-as-battleback.124969/