Galv's Auto Common Events MZ

Galv

Veteran
Veteran
Joined
Oct 1, 2012
Messages
1,339
Reaction score
1,617
First Language
English
Primarily Uses
RMMZ
Auto Common Events MZ
RPG Maker MZ Plugin
Galv

Introduction
Just a simple plugin to allow more functionality during the game after certain processes.


Features
This plugin allows you to automatically run common events at certain parts of the game process. These are currently:
– after player loads a saved file
– after player saves their game
– when the player transfers to a map
– every time the map scene opens (eg. after returning from the menu or other scene to the map)
– every time the battle scene starts
– entering a vehicle
– exiting a vehicle
– when a game over occurs
– when timer ends

Note: These common events run after any currently active event has finished processing it's commands.

Plugin commands let you specify the common event id's for each. Script calls allow for changing them during game.


How to Use
- Copy the "GALV_AutoCommonEventsMZ.js" file into your project's /js/plugins/ folder.
- Activate plugin using the 'Plugin Manager'
- Read the 'HELP' documentation (also found in plugin manager) for more details and try the demo if you don't understand.


Plugin
Get it here


Credit and Thanks
- Galv


Terms
Free to use in any RPG Maker MZ project including commercial. Please credit "Galv".
:)
 
Last edited:

Galv

Veteran
Veteran
Joined
Oct 1, 2012
Messages
1,339
Reaction score
1,617
First Language
English
Primarily Uses
RMMZ
Updated (version 1.1) to include entering/exiting vehicles. I thought that might be useful functionality.
 

XGuarden

Veteran
Veteran
Joined
May 10, 2016
Messages
448
Reaction score
17
First Language
French
Primarily Uses
Did this plugin allow to start a common even when a new game is started?
 

Galv

Veteran
Veteran
Joined
Oct 1, 2012
Messages
1,339
Reaction score
1,617
First Language
English
Primarily Uses
RMMZ
You can run a common event from an autorun event on the starting map.
 

estriole

Veteran
Veteran
Joined
Jun 27, 2012
Messages
1,375
Reaction score
615
First Language
indonesian
Did this plugin allow to start a common even when a new game is started?
i think we don't need that feature in this plugin since we can just add autorun event on the first map.

edit: ouch ninja'd by Galv :D :D
nice plugin btw :D.

btw i think you need to add before GameOver common event
 

XGuarden

Veteran
Veteran
Joined
May 10, 2016
Messages
448
Reaction score
17
First Language
French
Primarily Uses
i think we don't need that feature in this plugin since we can just add autorun event on the first map.

edit: ouch ninja'd by Galv :D :D
nice plugin btw :D.

btw i think you need to add before GameOver common event
Of course we can do that. But's I just find that ugly this way. I like the code to be really easy to read.
For me a common even with autostart on a map is less pretty then a common event.
 

Galv

Veteran
Veteran
Joined
Oct 1, 2012
Messages
1,339
Reaction score
1,617
First Language
English
Primarily Uses
RMMZ
Updated to 1.3 to add timer end common event. This overrides the default auto-end battle when timer ends in battle if it is used.
 

Latest Threads

Latest Posts

Latest Profile Posts

Looking back at some sketches, and game design documents on my PC dated summer of 2015. I started development with the release of MZ, but in 2015, I felt a strong desire to make a game out of the blue. I remember feeling sad for no apparent reason, and all these ideas rushed into my head. Now that I think about it, since that day, everything has become easier to do on my PC . . . it’s very creepy.
Everything's going to be alright! We're all in this together. <3
Aaaaannd published my game's tech demo. :D

Feel free to download and play it. And give feedback!
Hey everyone, we know that the edit bar is missing. We're working on it. You can talk about it in the announcement here: https://forums.rpgmakerweb.com/index.php?threads/forum-errors-missing-edit-bar-etc.132715/
So, explain why we can no longer use BBC code or smilies in our posts? This sparks much sadness...

Forum statistics

Threads
107,794
Messages
1,032,257
Members
139,941
Latest member
Finley
Top