Joined
Jul 24, 2016
Messages
507
Reaction score
348
First Language
Dutch
Primarily Uses
Hello everyone,

I want to skip the character selection when you click on ITEM in your main menu.

Right now when you select it you must select a character and then you go into the item menu. Can the character selection be skipped?

I'm using YEP Main Menu Manager and I have tried a **** ton of things to get it to skip but I can't get it to work so here I am.
 

OnslaughtSupply

Ssshhh...
Veteran
Joined
May 14, 2017
Messages
730
Reaction score
766
First Language
English
Primarily Uses
RMMV
Galv's single actor target menu does this if you only have one actor in the party.
 
Joined
Jul 24, 2016
Messages
507
Reaction score
348
First Language
Dutch
Primarily Uses
Yes, I already downloaded it and tried doing a work around on what he made but I can't get it to work. I want to skip it even if you have multiple people not just one. This because when you select an item you again get the option to choose on who you want to use it.

So if any scripter knows how to change GALV's plugin to work with multiple characters I would love to hear it!

Here is Galv's plugin:

//-----------------------------------------------------------------------------
// Galv's Single Actor Menu Target
//-----------------------------------------------------------------------------
// For: RPGMAKER MV
// Galv_SingleActorMenuTarget.js
//-----------------------------------------------------------------------------
// 2016-12-28 - Version 1.0 - release
//-----------------------------------------------------------------------------
// Terms can be found at:
// galvs-scripts.com
//-----------------------------------------------------------------------------

var Imported = Imported || {};
Imported. Galv_SingleActorMenuTarget = true;

var Galv = Galv || {}; // Galv's main object
Galv.SAMT = Galv.SAMT || {}; // Galv's stuff

//-----------------------------------------------------------------------------
/*:
* @plugindesc (v.1.0) Remove target selection when using an item/skill on an actor with only 1 actor in party.
*
* @author Galv - galvs-scripts.com
*
* @param Battle
* @desc true or false to activate this plugin in battles or not.
* @Default true
*
* @param Menus
* @desc true or false to activate this plugin in other menus
* @Default true
*
*
* @Help
* Galv's
* ----------------------------------------------------------------------------
* This plugin changes menus (skill, item, main menu) to skip the actor select
* step when there is only one actor in the party.
*
* This was a quick one designed for the default menus. Any custom menu plugins
* you have may not be compatible with this.
* ----------------------------------------------------------------------------
*/



//-----------------------------------------------------------------------------
// CODE STUFFS
//-----------------------------------------------------------------------------

(function() {

Galv.SAMT.battle = PluginManager.parameters('Galv_SingleActorMenuTarget')["Battle"].toLowerCase() == 'true' ? true : false;
Galv.SAMT.menus = PluginManager.parameters('Galv_SingleActorMenuTarget')["Menus"].toLowerCase() == 'true' ? true : false;

Galv.SAMT.oneMember = function() {
return $gameParty.battleMembers().length == 1;
};


if (Galv.SAMT.menus) {
Galv.SAMT.Scene_Menu_commandPersonal = Scene_Menu.prototype.commandPersonal;
Scene_Menu.prototype.commandPersonal = function() {
if (Galv.SAMT.oneMember()) {
this.onPersonalOk();
} else {
Galv.SAMT.Scene_Menu_commandPersonal.call(this);
}
};

Galv.SAMT.Scene_ItemBase_showSubWindow = Scene_ItemBase.prototype.showSubWindow;
Scene_ItemBase.prototype.showSubWindow = function(window) {
if (Galv.SAMT.oneMember()) return;
Galv.SAMT.Scene_ItemBase_showSubWindow.call(this,window);
};

Galv.SAMT.Scene_Item_onItemOk = Scene_Item.prototype.onItemOk;
Scene_Item.prototype.onItemOk = function() {
Galv.SAMT.Scene_Item_onItemOk.call(this);
if (Galv.SAMT.oneMember()) {
this.onActorOk();
this.onActorCancel();
}
};

Galv.SAMT.Scene_Skill_onItemOk = Scene_Skill.prototype.onItemOk;
Scene_Skill.prototype.onItemOk = function() {
Galv.SAMT.Scene_Skill_onItemOk.call(this);
if (Galv.SAMT.oneMember()) {
this.onActorOk();
this.onActorCancel();
}
};
}

if (Galv.SAMT.battle) {
Galv.SAMT.Scene_Battle_selectActorSelection = Scene_Battle.prototype.selectActorSelection;
Scene_Battle.prototype.selectActorSelection = function() {
Galv.SAMT.Scene_Battle_selectActorSelection.call(this);
if (Galv.SAMT.oneMember()) {
this._actorWindow.processOk();
}
};
}

})();
 

ZephyrAM

Veteran
Veteran
Joined
Oct 6, 2017
Messages
82
Reaction score
82
First Language
English
Primarily Uses
RMMV
Wait... you're saying the game makes you select a character just to get into the item menu? I had to test that in a base project to make sure I wasn't going crazy, but that's not default functionality. Selecting 'Item' takes you into the item menu, and if you choose a potion from there, 'then' it makes you pick a character.

Is one of your menu plugins adding the double selection?
 

Aloe Guvner

Walrus
Veteran
Joined
Sep 28, 2017
Messages
1,628
Reaction score
1,159
First Language
English
Primarily Uses
RMMV
I'm using YEP Main Menu Manager and I have tried a sheep ton of things to get it to skip but I can't get it to work so here I am.
Please show a screenshot of the configuration you did for this plugin in the plugin manager.
 
Joined
Jul 24, 2016
Messages
507
Reaction score
348
First Language
Dutch
Primarily Uses
Alright it was a plugin called Anima Item cooldowns that I use that must be set at the top of the item list to not interfene with the Item core plugin. Will probs be some tweaking still but now that I localized the problem I should be able to handle it. Thanks for the check up people, this thread can be closed.
 

Latest Threads

Latest Posts

Latest Profile Posts

I'm still undecided weather or not I should add minor swearing to my game. Like I'm going for an all ages demographic... but the idea of a cartoon character saying dammit, hell, or crap in normal conversation is really funny to me.
If we assume an Elf's strong suit is Dexterity (AGI) & Intellect (MAT), I imagine Strength (ATK) & Constitution (DEF) would be among their lowest stats. But I'm having a hard deciding which should be lower, Strength or Constitution?
I'm really sorry to have to do this, but I'm going to have to start blocking those who repeatedly put up sexual content and offer absolutely nothing (that I've seen) related to what this community is supposedly created for.
Don't take it personal. I'm a rape victim with permanent injuries who can never enjoy 'it' ever again, so it's the last thing I want to have put in my face. :(
Check out my side project! It's a survival dungeon crawler! https://voidmoon-studio.itch.io/depths-of-delmora
RushLog wrote on HarlekinLehl's profile.
how do you attach those images to your posts?

Forum statistics

Threads
123,215
Messages
1,154,971
Members
161,596
Latest member
LilCronch
Top