Documentation
Quick InfoVersion: Alpha
Made for RPG Maker MZ 1.10.0
REQUIRED: All [CGMZ] Plugins require [CGMZ] Core placed above them in the Plugin Manager.
Quick Start Guide1) Set up the Display Info parameters for the various reward possibilities, this is how the information shown in the window is determined.
2) Use Select Reward plugin command to show possible reward(s). You can optionally include an amount and a note for the rewards shown, or customize their windows using various integrations.
3) The variable given in the plugin command will be set to the index of the reward chosen. If the first reward is chosen, the variable will be set to 1. If the second reward is chosen, the variable will be set to 2.
4) Use the variable value in a conditional branch to award the player their reward, and also to do any other event commands you want.
Window PositionThe window position automatically adjusts itself depending on how many rewards the player has available to choose from. If there are 2 rewards, the scene will show 2 windows and they will be a bit wider than if there are 3 rewards. It is up to you to show only as many rewards as will fit on your game resolution width, if you try to show too many rewards it will most likely not look very good due to lack of space.
IntegrationsThis plugin includes additional functionality when used alongside:
[CGMZ] Window Settings
Allows you to customize various window windowskins, tones, and more.
[CGMZ] Window Backgrounds
Allows you to show an image as the window background, for each window individually
[CGMZ] Scene Backgrounds
Allows you to show images, videos, and more as your reward select scene background.
[CGMZ] Controls Window
Allows you to show controls in a window to help the player use the reward select scene. Controls automatically adapt to the player's last input type.
Plugin CommandsThis plugin includes the following plugin commands:
Select Reward
This starts the reward select scene. You can choose the rewards to select from, and the result will be stored in a variable for use in your events.
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_RewardSelect.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.