Skipping character selection

Joined
Jul 24, 2016
Messages
458
Reaction score
303
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
731
Reaction score
764
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
458
Reaction score
303
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
74
Reaction score
74
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,115
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
458
Reaction score
303
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.
 

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

Latest Threads

Latest Posts

Latest Profile Posts

so hopefully tomorrow i get to go home from the hospital i've been here for 5 days already and it's driving me mad. I miss my family like crazy but at least I get to use my own toiletries and my own clothes. My mom is coming to visit soon i can't wait to see her cause i miss her the most. :kaojoy:
Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD

Forum statistics

Threads
105,868
Messages
1,017,078
Members
137,580
Latest member
Snavi
Top