DoubleX RMMV Popularized ATB Hotkey

0 Members and 1 Guest are viewing this topic.

***
Scripter
Rep:
Level 34
Changelog
Code: [Select]
*      v1.00b(GMT 0500 11-8-2017):                                           
 *      1. Fixed actors selected by hotkeys not performing the waiting pose   
 *         bug                                                               
 *      v1.00a(GMT 0900 10-7-2016):                                           
 *      1. 1st version of this plugin finished                               

Authors
DoubleX

Credits
DoubleX(Optional)

Purpose
Lets users set some hotkeys to select various inputable actors

Games using this plugin
None so far

Configurations
Code: [Select]
* @param prior_inputable_actor
 * @desc Sets the key setting up the inputable actor at the left of the
 *       current one as prior_inputable_actor
 *       If the current one's the leftmost one, the rightmost one will be
 *       setup instead
 *       Holding prior_inputable_actor can repeatedly setup inputable actors
 *       prior_inputable_actor should remain unchanged during the same battle
 * @default left
 *
 * @param next_inputable_actor
 * @desc Sets the key setting up the inputable actor at the right of the
 *       current one as next_inputable_actor
 *       If the current one's the rightmost one, the leftmost one will be
 *       setup instead
 *       Holding next_inputable_actor can repeatedly setup inputable actors
 *       next_inputable_actor should remain unchanged during the same battle
 * @default right
Code: [Select]
DoubleX_RMMV.PATB_Hotkey = {

    /* Sets hotkeys selecting the inputable actor with the specified party
     * member index
     * None of these hotkeys are supposed to be changed during the same battle
     * Each hotkey will be referenced by $gameSystem.patb.hotkey_actor_index,
     * where index is the index of the hotkey
     * $gameSystem.patb.hotkey_actor_count must always be updated to maintain
     * the exact number of these hotkeys
     * The ith hotkey will try to select the inputable actor with party memver
     * index i - 1
     * Each of these hotkey must be a String
     * Using a keyboard mapping plugin, like Quasi Input, can be useful here
     */
    inputable_actors: [
        "#1", // Referenced by $gameSystem.patb.hotkey_actor_0
        "#2", // Referenced by $gameSystem.patb.hotkey_actor_1
        "#3", // Referenced by $gameSystem.patb.hotkey_actor_2
        "#4", // Referenced by $gameSystem.patb.hotkey_actor_3
        "#5", // Referenced by $gameSystem.patb.hotkey_actor_4
        "#6", // Referenced by $gameSystem.patb.hotkey_actor_5
        "#7", // Referenced by $gameSystem.patb.hotkey_actor_6
        "#8", // Referenced by $gameSystem.patb.hotkey_actor_7
        "#9", // Referenced by $gameSystem.patb.hotkey_actor_8
        "#0" // Referenced by $gameSystem.patb.hotkey_actor_9
    ]

}; // DoubleX_RMMV.PATB_Hotkey

Plugin Calls
Code: [Select]
*    # Configuration manipulations                                           
 *      1. $gameSystem.patb.param                                             
 *         - Returns the value of param listed in the plugin manager         
 *      2. $gameSystem.patb.param = val                                       
 *         - Sets the value of param listed in the plugin manager as val     
 *         - All $gameSystem.patb.param changes will be saved                 
 *      3. $gameSystem.patb.hotkey_actor_index                               
 *         - Returns the keyboard mapping of hotkey selecting the inputable   
 *           actor with the specified party member index                     
 *      4. $gameSystem.patb.hotkey_actor_index = keyboard_mapping             
 *         - Sets the keyboard mapping of hotkey selecting the inputable actor
 *           with the specified party member index as keyboard_mapping       
 *         - All $gameSystem.patb.hotkey_actor_index changes will be saved   
 *      5. $gameSystem.patb.hotkey_actor_count                               
 *         - Returns the number of hotkeys selecting the inputable actor with
 *           specified party member indices                                   
 *      6. $gameSystem.patb.hotkey_actor_count = count                       
 *         - Sets the number of hotkeys selecting the inputable actor with   
 *           specified party member indices as count                         
 *         - All $gameSystem.hotkey_actor_count changes will be saved         

Video
DoubleX RMMV Popularized ATB Hotkey

Prerequisites
Plugins:
1. DoubleX RMMV Popularized ATB Core
Abilities:
1. Little Javascript coding proficiency to fully utilize this plugin

Terms Of Use
You shall keep this plugin's Plugin Info part's contents intact
You shalln't claim that this plugin's written by anyone other than DoubleX or his aliases
None of the above applies to DoubleX or his/her aliases
« Last Edit: August 11, 2017, 05:14:51 AM by DoubleX »

***
Scripter
Rep:
Level 34
Updates
Code: [Select]
*      v1.00b(GMT 0500 11-8-2017):                                           
 *      1. Fixed actors selected by hotkeys not performing the waiting pose   
 *         bug