Casper Gaming Developer Corner
Casper Gaming Developer Corner

Documentation

Back to Plugin


Quick InfoVersion: Alpha
Made for RPG Maker MZ 1.9.0

Getting StartedTo set up a clickable picture, you should first use the Show Picture event command to show a picture. Then, use a plugin command from below to attach a common event or custom JS behavior when that picture is hovered or clicked.

When the picture is erased, its common event or custom JS will also be removed and the next picture shown with that id will start fresh. If you need to remove common event or js data before the picture is erased, you can use the Clear plugin command.

Pictures otherwise function as normal, you can move them and use other picture related event commands as normal and they should be unaffected by this plugin.

Plugin CommandsThis plugin supports the following plugin commands:
Attach
Attach common events or custom JS to a picture by picture id

Clear
Clear a picture of any previously set clickable behavior by picture id

Saved GamesThis plugin is fully compatible with saved games. This means you can:

✓ Add this plugin to a saved game and it will work as expected.
✓ Change any plugin params and changes will be reflected in saved games.
✓ Remove the plugin with no issue to save data.

Filename

The filename for this plugin MUST remain CGMZ_ClickablePictures.js. This is what it comes as when downloaded. The filename is used to load parameters and execute plugin commands. If you change it, things will begin behaving incorrectly and your game will probably crash. Please do not rename the js file.


Known Issues

This plugin currently has no known issues that need to be fixed. If you believe you have encountered a bug, please report it to Casper Gaming.


Compatibility

This plugin currently has no known compatibility issues with other RMMZ plugins. If you believe you have encountered a conflict, please report it to Casper Gaming.

Back to Plugin