MZ How to use Plugin Commands?

Hello,

I am still learning so I am sure this is easy for most but as I discover new plugins there is always something new about how it works. In most plugins I have used you just put the js file in the plugin folder then edit the details of the plugin in the plugins option. however I have now come across a Plugin that uses " Plugin Commands" for the Camera changing.

My questions is how do I apply a "Plugin Command" on all maps or make the command take effect automatically at start?
[deleted]
@ighrpg
You would have to use a common event, and change it to parallel (for this you'd need to activate a switch). To activate a switch at the start of the game, I think you could just turn the switch to ON on the first event that runs in the game.

That's how I do it, at least. There might be other ways, but I haven't come across those ways yet lol

EDIT: Not sure if it's different for MZ, though. Probably not lol


Hey, thank you for this I will try that method.
To activate a switch at the start of the game, I think you could just turn the switch to ON on the first event that runs in the game.
Or, at that point, simply include the plugin command in an autorun event on the first map that loads.
Moved to: Plugin Support

How you do things depends entirely on the individual plugin (which is why you sometimes come across stuff that's a bit more unusual). See if there is a "global" setting in the plugin parameters that lets you apply the same thing to all maps, or if there's something you can set up via map notetags that's mentioned in the plugin description. If not, then you'll have to use a parallel event on each map that runs the plugin command and then erases itself.
Thank You ! So far the Parallel is working pretty good.
I have a JS question but I will create a new thread for that. ( hopefully in the correct category 🙂 )

Thx!!

Original thread: https://forums.rpgmakerweb.com/threads/how-to-use-plugin-commands.138844/