じ☆ve冰风 发表于 2026-7-25 16:48:12

DoubleX RMMV Targeting Hotkeys

Purpose


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


Games using this plugin


        None so far


Configurations

Spoiler/* 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,
   * 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
      "#2", // Referenced by $gameSystem.targetingHotkeys
      "#3", // Referenced by $gameSystem.targetingHotkeys
      "#4", // Referenced by $gameSystem.targetingHotkeys
      "#5", // Referenced by $gameSystem.targetingHotkeys
      "#6", // Referenced by $gameSystem.targetingHotkeys
      "#7", // Referenced by $gameSystem.targetingHotkeys
      "#8", // Referenced by $gameSystem.targetingHotkeys
      "#9", // Referenced by $gameSystem.targetingHotkeys
      "#0" // Referenced by $gameSystem.targetingHotkeys
    ]






Plugin Calls

Spoiler*      1. $gameSystem.targetingHotkeys                              
*         - Returns the keyboard mapping of hotkey selecting the actor/enemy
*         with the specified member index as the target                  
*      2. $gameSystem.targetingHotkeys = keyboardMapping            
*         - Sets the keyboard mapping of hotkey selecting the actor/enemy   
*         with the specified member index as the target as keyboardMapping
*         - All $gameSystem.targetingHotkeys 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

Spoiler*      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.






Changelog

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






View attachment DoubleX RMMV Targeting Hotkeys v100a.rar


DoubleX RMMV Targeting Hotkeys


本贴来自国际rpgmaker官方论坛作者:DoubleX处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/doublex-rmmv-targeting-hotkeys.66816/
页: [1]
查看完整版本: DoubleX RMMV Targeting Hotkeys