DoubleX RMMV Targeting Hotkeys

DoubleX

Just a nameless weakling
Veteran
Joined
Jan 2, 2014
Messages
1,733
Reaction score
891
First Language
Chinese
Primarily Uses
N/A
Purpose


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


Games using this plugin


None so far


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



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

* 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

* 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
 
Last edited by a moderator:

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Demo for Maze of the Lost MZ released. I would appreciate any and all feedback and constructive criticism. If you like Dungeon Crawlers and JRPG's with a hint of Metroidvania and Shadowgate/Uninvited you might like it. https://forums.rpgmakerweb.com/index.php?threads/maze-of-the-lost-mz-demo-port-from-mv.127971/
Well, here it is, colored. :kaoslp:

Forum statistics

Threads
103,388
Messages
998,957
Members
134,907
Latest member
zelda3469
Top