Picture Events During Message

DreamX

Veteran
Veteran
Joined
May 30, 2015
Messages
816
Reaction score
820
First Language
English
Primarily Uses
Picture Events During Message
By DreamX

 
Introduction/Features


This is an extension for Yanfly's Picture Common Events. This extension allows you to click on a picture common event while a message or choice window is active, perform the associated common event, and then return to the event that was being processed before you clicked the picture (if desired).


An example of application is to go into go into another scene like the menu, perform other operations such as saving or equipping your party, and then return to the message you were at before you clicked.


How to Use
Right click the script link and select save link as a .js file.


Place UNDER Yanfly plugins.


* Requires Yanfly Picture Common Events.
* Make sure the parameter "Hide Message" in Yanfly Picture Common Events is
* false.
* You can now click on picture events during a message.
* When you click on a picture event during a message, the game will save the
* last event it was on, and which part it was on.
*
* You can put a comment in the common event with "DisableLastEventReplace"
* (without quotes and by itself) to prevent the common event from replacing
* last event save with itself if you click the same button again.
* This is useful to prevent the button from erasing what the real last event
* was.
*
* In the common event the picture is associated with, you can call the
* following plugin commands to return to the last event:
*
* JumpToLastEventLabel x - x is the label of the last event you would like to
* return to.
*
* JumpToLastEventIndex - This plugin command returns you to the same part of
* the event before the picture comment event was activated.
*
* This plugin only affects clicks on a picture event when the message window
* is active.
*
* If the common event calling that does not change the currently displaying
* message, you can put a comment in the common event with
* "DisableMessageProgress" (without quotes and by itself) to prevent the
* message from reinitializing when you return to the previous event. This may
* also be useful when opening the menu from a common event.
* ============================================================================
* Terms Of Use
* ============================================================================
* Free to use and modify for commercial and noncommercial games, with credit.
* Credit Yanfly for the script this is an extension of (Yanfly Picture Common
* Events)
* ============================================================================
* Credits & Thanks
* ============================================================================
* DreamX
* Yanfly
*/


Script


Credit and Thanks
- DreamX


Thank you to Yanfly for the original plugin that this plugin is an extension of.


Author's Notes/Terms of Use
Free to use and modify for commercial and noncommercial games, with credit. Credit Yanfly for the original plugin.
 
Last edited by a moderator:

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

Latest Threads

Latest Posts

Latest Profile Posts

Humans are fallible creatures, we all know that. It's when we're forced to look at ourselves that we start to disagree. :p
Expectation: Working on boss battle.
Reality: "Look at how awful are these code and database organization. Let me clean this mess", *yet, casually adding more modules that I have no idea if I would use it later*
Trying to learn to read Japanese so I read my manga. I like to buy them without all the edits made during translation.
The only thing getting me through today so far is coffee. And lots of it.
Amazing. I had seen it more than 10 years ago, but seeing Monster this year was an incredible experience. It was certainly one of the best endings I've ever seen in anime.

Forum statistics

Threads
97,851
Messages
947,382
Members
129,078
Latest member
onpeex
Top