Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

DoubleX RMMV Targeting Hotkeys

DoubleX

Just a nameless weakling
Member

Purpose
Lets you set some hotkeys selecting actor/enemy target by index

Games using this plugin
None so far

Configurations
Code:
    /* Sets hotkeys selecting the actor/enemy target with the specified index

     * None of these hotkeys are supposed to be changed during the same battle

     * Each hotkey will be referenced by $gameSystem.targetingHotkeys[index], 

     * where index is the index of the hotkey

     * The ith hotkey will try to select the actor/enemy target with index i - 1

     * Each of these hotkey must be a String

     * Using a keyboard mapping plugin, like Quasi Input, can be useful here

     */

    hotkeys: [

        "#1", // Referenced by $gameSystem.targetingHotkeys[0]

        "#2", // Referenced by $gameSystem.targetingHotkeys[1]

        "#3", // Referenced by $gameSystem.targetingHotkeys[2]

        "#4", // Referenced by $gameSystem.targetingHotkeys[3]

        "#5", // Referenced by $gameSystem.targetingHotkeys[4]

        "#6", // Referenced by $gameSystem.targetingHotkeys[5]

        "#7", // Referenced by $gameSystem.targetingHotkeys[6]

        "#8", // Referenced by $gameSystem.targetingHotkeys[7]

        "#9", // Referenced by $gameSystem.targetingHotkeys[8]

        "#0" // Referenced by $gameSystem.targetingHotkeys[9]

    ]

Plugin Calls
Code:
 *      1. $gameSystem.targetingHotkeys[index]                                

 *         - Returns the keyboard mapping of hotkey selecting the actor/enemy 

 *           with the specified member index as the target                    

 *      2. $gameSystem.targetingHotkeys[index] = keyboardMapping              

 *         - Sets the keyboard mapping of hotkey selecting the actor/enemy    

 *           with the specified member index as the target as keyboardMapping 

 *         - All $gameSystem.targetingHotkeys[index] changes will be saved    

Instructions
You're supposed to edit this plugin js file directly

Prerequisites
Abilities:
1. Nothing special for most ordinary use cases
2. Little Javascript coding proficiency to fully utilize this plugin

Terms Of Use
Code:
 *      1. Commercial use's always allowed and crediting me's always optional.

 *      2. You shall keep this plugin's Plugin Info part's contents intact.   

 *      3. You shalln't claim that this plugin's written by anyone other than 

 *         DoubleX or my aliases. I always reserve the right to deny you from 

 *         using any of my plugins anymore if you've violated this.           

 *      4. CC BY 4.0, except those conflicting with any of the above, applies 

 *         to this plugin, unless you've my permissions to not to follow so.  

 *      5. I always reserve the right to deny you from using this plugin      

 *         anymore if you've violated any of the above.                      

Changelog
Code:
 *      v1.00a(GMT 0900 14-8-2016):                                           

 *      1. 1st version of this plugin finished                                

Download Link
DoubleX RMMV Targeting Hotkeys
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top