Battle Auto Selection

Lecode

(─‿‿─)
Veteran
Joined
Dec 18, 2013
Messages
490
Reaction score
653
First Language
French
Primarily Uses
N/A
Battle Auto Selection 1.06
By Lecode

Introduction
This plugin allows to skip the selection window when there is only one available enemy or one available ally.

I'm talking about that window that let you select who to target after attack/skill/item command.

How to Use

-Plug & play

-Make sure to save the plugin as LeBattleAutoSelection.js.

-I suggest you to insert it bellow battle core/hud plugins

Plugin

Download it from my google drive.

Credit and Thanks
- Lecode

- Requested from Fisherolol

Author's Notes
Feel free to suggest anything.
 
Last edited by a moderator:

JohnnyR

Dungeon Master
Restaff
Joined
Mar 27, 2013
Messages
275
Reaction score
135
First Language
English
Primarily Uses
RMMV
I've been looking for this for sooooo long! 

Just tested it and it feels great! Can't thank you enough! :D
 

Lecode

(─‿‿─)
Veteran
Joined
Dec 18, 2013
Messages
490
Reaction score
653
First Language
French
Primarily Uses
N/A
Thanks ! I'm glad you like it :) .
 

Polysquid

Villager
Member
Joined
Oct 28, 2015
Messages
7
Reaction score
3
First Language
English
Brilliant! Just what I was after.

Could I make a request?

Skills that target the user also ask you to select a target. Would it be possible to add a skip to that, too? (Maybe as a changeable option though, some players might want to keep it for clarity)

Thanks for the great plugin! :)

Screen Shot 2015-10-28 at 12.28.24.png
 
Last edited by a moderator:

Lecode

(─‿‿─)
Veteran
Joined
Dec 18, 2013
Messages
490
Reaction score
653
First Language
French
Primarily Uses
N/A
Thanks :)

However,

Skills that target the user also ask you to select a target
That's strange. By default, the selection window is skipped in that case. What battle plugins are you using ?
 

Polysquid

Villager
Member
Joined
Oct 28, 2015
Messages
7
Reaction score
3
First Language
English
I'm using Bobstah's Custom Battle Commands & Yanfly's plugins.

It works fine when there's only one character in the party, but add in a 2nd member and it's back to asking for confirmation again. Not the end of the world as the 'solo' class in my game has the most self-casts. :)

Screen Shot 2015-10-28 at 17.27.16.png
 
Last edited by a moderator:

Lecode

(─‿‿─)
Veteran
Joined
Dec 18, 2013
Messages
490
Reaction score
653
First Language
French
Primarily Uses
N/A
Updated. Try the new version and let me know if it works.
 

Polysquid

Villager
Member
Joined
Oct 28, 2015
Messages
7
Reaction score
3
First Language
English
Fixed! Many thanks. Battles flow much more smoothly now.  :)
 

Michael Dionne

Indie Games Developer
Veteran
Joined
Mar 12, 2015
Messages
70
Reaction score
60
First Language
French
Thanks! Keep it up! Plugins are so useful, especially since MV is so young.
 

JohnnyR

Dungeon Master
Restaff
Joined
Mar 27, 2013
Messages
275
Reaction score
135
First Language
English
Primarily Uses
RMMV
Since you added the "self-target" skills' skip option, could you maybe also add a skip to the skills that target all allies?

I just tested it and it looks kinda stupid selecting a character to cast a multi heal on, since it's going to heal everyone in the party. :p
 

Michael Dionne

Indie Games Developer
Veteran
Joined
Mar 12, 2015
Messages
70
Reaction score
60
First Language
French
I agree with JohnnyR, that would be very useful.
 
Last edited by a moderator:

Lecode

(─‿‿─)
Veteran
Joined
Dec 18, 2013
Messages
490
Reaction score
653
First Language
French
Primarily Uses
N/A
So, that behavior is due to Yanfly's plugins ? Because I don't notice it on my side, with defaults plugins.

Strange...Anyway I fixed it. :)
 

VHStapes

Game Designer
Veteran
Joined
May 25, 2014
Messages
57
Reaction score
7
First Language
English
Greatly improves the flow and feel of battle! Thank you so much!!!

Also, free for commercial/non-commercial use? With credit of course :)
 

Dinamic Creates

Project Stealth | Project Dungeon Trios
Veteran
Joined
Nov 27, 2014
Messages
69
Reaction score
24
First Language
Spanish
Primarily Uses
RMMV
This is just amazing. Thank you very mucho.
 

Lunesis

Veteran
Veteran
Joined
Oct 4, 2015
Messages
34
Reaction score
6
First Language
English
Primarily Uses
Seems like there is a bug where my single target heal will autocast on the person casting it.
 

Lecode

(─‿‿─)
Veteran
Joined
Dec 18, 2013
Messages
490
Reaction score
653
First Language
French
Primarily Uses
N/A
Greatly improves the flow and feel of battle! Thank you so much!!!

Also, free for commercial/non-commercial use? With credit of course :)
Yes, it's free for commercial use.

Seems like there is a bug where my single target heal will autocast on the person casting it.
On my side with just the base plugins I don't notice that issue. I bet it's also due to yanfly's plugins.

I suggest someone using them to report the previous strange behaviours to Yanfly.

Currently I don't have much time to fix someone else's plugin ^^
 
Last edited by a moderator:

Polysquid

Villager
Member
Joined
Oct 28, 2015
Messages
7
Reaction score
3
First Language
English
Yes, it's free for commercial use.

On my side with just the base plugins I don't notice that issue. I bet it's also due to yanfly's plugins.

I suggest someone using them to report the previous strange behaviours to Yanfly.

Currently I don't have much time to fix someone else's plugin ^^
Strange. Using Yanfly's plugins with this and no issues with self healing here! (Tested on both Items and Skills, 'Certain Hit' and 'Magic Types')

Try making sure the LeBattleAutoSelection script is directly under the Yanfly Battle core in the plugin manager.

Update: attached my plugin order for reference.

Screen Shot 2015-10-31 at 13.30.29.png
 
Last edited by a moderator:

Lecode

(─‿‿─)
Veteran
Joined
Dec 18, 2013
Messages
490
Reaction score
653
First Language
French
Primarily Uses
N/A
I think it'll be even better to insert it below bob's command plugin.
 

VHStapes

Game Designer
Veteran
Joined
May 25, 2014
Messages
57
Reaction score
7
First Language
English
Seems like there is a bug where my single target heal will autocast on the person casting it.
I just tried it in a brand new project and had the same problem. Maybe I don't have the newest version, I will double check.

EDIT: Double checked by redownloading the plugin and still having the same issue in a fresh project.

EDIT: Figured it out.

Line 49 was:

    if (action.isForUser() || (action.isForFriend && action.isForAll)) {and it should be

   if (action.isForUser() || (action.isForFriend() && action.isForAll())) {The parenthesis after action.isForFriend and action.isForAll was missing.

Now it's working perfectly, thanks for an awesome plugin!
 
Last edited by a moderator:

Dinamic Creates

Project Stealth | Project Dungeon Trios
Veteran
Joined
Nov 27, 2014
Messages
69
Reaction score
24
First Language
Spanish
Primarily Uses
RMMV
I just tried it in a brand new project and had the same problem. Maybe I don't have the newest version, I will double check.

EDIT: Double checked by redownloading the plugin and still having the same issue in a fresh project.

EDIT: Figured it out.

Line 49 was:

    if (action.isForUser() || (action.isForFriend && action.isForAll)) {and it should be

   if (action.isForUser() || (action.isForFriend() && action.isForAll())) {The parenthesis after action.isForFriend and action.isForAll was missing.

Now it's working perfectly, thanks for an awesome plugin!
I had this problem. Thanks!
 

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

Latest Threads

Latest Posts

Latest Profile Posts

Potato The game! Few concepts for characters to my game.
Well, well, well, well....Lemme get a look at this fanart.
The Google Play rating for one of my games finally rose above 4.0 after getting review-bombed from a $0 sale. Now the game's sales are doing much better when discounted, so that's nice.
I'm getting close to releasing a demo. Working on formatting my Games in Development post.
I always see a few people asking for C# in next engine and I always thought: Do I not know enough about that language to tell it will affect extensibility and customizability to the negative? Watching a video from SumRndmDde today I feel confirmed.

Forum statistics

Threads
98,223
Messages
950,502
Members
129,523
Latest member
Eulesan
Top