New account registrations are disabed. This website is now an archive. Read more here.

RPG Maker MV    Posted August 15, 2016 by DoubleX

DoubleX RMMV Targeting Hotkeys

Introduction

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

Features

Configurations

/* 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

*      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

The Code

License Terms

Attribution 3.0 Unported - You must attribute the work in the manner specified by the author or licensor. Commerical use allowed.

Instructions

You’re supposed to edit this plugin js file directly

Version History

*      v1.00a(GMT 0900 14-8-2016):                                           
 *      1. 1st version of this plugin finished

Credits & Thanks

DoubleX(Optional)

Terms & Conditions

*      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 not needing follow so.
 *      5. I always reserve the right to deny you from using this plugin      
 *         anymore if you've violated any of the above.

Leave a Reply

DoubleX

  • Posted about 8 years ago

  • Engine
    RPG Maker MV
  • Category
    Gameplay Scripts
  • License
    Attribution 3.0 Unported
  • Version
    v1.00a

Stats

871 views

0 comments

Tags

n-a