Too bad I can only hit the like button once 🙁
I have to say... Your plugin's have been great. Compatibility has been awesome compared to your VXA scripts. Thanks a lot!
TypeError: Cannot read property 'setTargetToggle' of null
at Scene_Battle.selectEnemySelection (/L:/RPG%20Maker/ES/js/plugins/VE_ToggleTargets.js:567)
at Scene_Battle.onSelectAction (rpg_scenes.js:2398)
at Scene_Battle.onSelectAction (/L:/RPG%20Maker/ES/js/plugins/YEP_BattleEngineCore.js:4047)
at Scene_Battle.onSelectAction (/L:/RPG%20Maker/ES/js/plugins/VE_ToggleTargets.js:576)
at Scene_Battle.commandAttack (/L:/RPG%20Maker/ES/js/plugins/YEP_WeaponUnleash.js:864)
at Scene_Battle.commandAttack (/L:/RPG%20Maker/ES/js/plugins/VE_ToggleTargets.js:537)
at Window_ActorCommand.Window_Selectable.callHandler (rpg_windows.js:896)
at Window_ActorCommand.Window_Command.callOkHandler (rpg_windows.js:1420)
at Window_ActorCommand.Window_Selectable.processOk (rpg_windows.js:1150)
at Window_ActorCommand.processOk (rpg_windows.js:5428)
Heya.
So I'm getting an error with toggle target when I reach the last enemy. I will look into it. But this might be due to a non-Yanfly plugin called LeBattleAutoSelect.
Will be playing around with plugin order to see.
Well there is not much i can do if you don't provide a link the plugin (as i don't have any idea of what is 'LeAutoBattleSelect' and I won't search through the internet just to do so).
Also, i need the console error message, the in-game error message is quite useless, since it don't point where the error occured.
This explain why the forum search didn't return any result, The topic name is 'Auto Battle Selection' and the plugin filename is 'LeAutoBattleSelection'.
Now that i see what this plugin does I belive that it is not a good idea to use them together.
Think: You have a toogleable action that targets enemies. If there two enemies, you can toggle to actors, But if have only a single enemy, you will not able to toggle. (wich is exactly what causes the issue).
This plugin skips the target selection, witch is vital for the toggle target, since all the targeting setup needed for the toggle targets is done on those windows.
You will notice that I added a selction for all targets, even when by default it is skipped, this show how important selecting the target is for this plugin.
Sorry but there is not much to be done. It would need to redesign or add too many new check to the plugin, for something that is not even supposed to work well together.
This is a case of plugins that weren't designed to work together, because their role of one is basically to undo what the other was supposed to do.
tl;dr;
If the tharget selection is skiped, it will not work.
Hm, this apparently predates my own single/multiple switch (in the "in development" forum) by a week, but I had no idea it existed until just now. Huh.
Victor you literally just saved my life right now. Not being knowledgeable in JavaScript, I've been looking everywhere for this exact plugin to be made for MV. Thank you so much for making this.
Hi Victor, first, thank you for this plugin! I used the vx version on my previous game and it was needed! Thank you!
I think i have a problem with the key binding. It work very fine with the default "shift" for scope toggle, if i add or change it for something else (i tried W, Page Up and Page Down) and nothing work. I'd like to change so the player can toggle with LB and/or RB, classic style.
I turn OFF all plugins that could interfere with button or key mapping, same result.
"Q", "Page Up"/"Page Down" (with whitespaces) aren't valid keys
Only keys on the Input.keyMapper can be used.
Input.keyMapper = {
9: 'tab', // tab
13: 'ok', // enter
16: 'shift', // shift
17: 'control', // control
18: 'control', // alt
27: 'escape', // escape
32: 'ok', // space
33: 'pageup', // pageup
34: 'pagedown', // pagedown
37: 'left', // left arrow
38: 'up', // up arrow
39: 'right', // right arrow
40: 'down', // down arrow
45: 'escape', // insert
81: 'pageup', // Q
87: 'pagedown', // W
88: 'escape', // X
90: 'ok', // Z
96: 'escape', // numpad 0
98: 'down', // numpad 2
100: 'left', // numpad 4
102: 'right', // numpad 6
104: 'up', // numpad 8
120: 'debug' // F9
};
Keys enabled by plugins would work as long those keys are inserted on the Input.keyMapper.