Joined
Mar 19, 2018
Messages
36
Reaction score
41
First Language
English
Primarily Uses
RMMV
Hi everyone, I've been trying to figure out how to do something that I feel like should be pretty simple, but I'm stumped.

When I'm viewing the Status scene, I want the player to be able to press left or right to move to the next actor and view their status screen as well, without having to go back to the menu and re-select Status. Does anyone know how to accomplish this? I haven't been able to find any threads on the forum with the same problem, although I do vaguely remember seeing some other RPG maker games that had this feature. I'm aware that it's going to require modifying rpg_scenes (or the Yanfly Status screen plugin), I just can't figure out exactly how due to my inexperience with JavaScript. Any tips would be greatly appreciated!
 

Shaz

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
44,715
Reaction score
15,839
First Language
English
Primarily Uses
RMMV
You should be able to do this by default. Or maybe it's up and down rather than left and right, or page up and page down?

Do you have any plugins that might be interfering with this? If you start a brand new project with no plugins, does it work?
 
Joined
Mar 19, 2018
Messages
36
Reaction score
41
First Language
English
Primarily Uses
RMMV
You should be able to do this by default. Or maybe it's up and down rather than left and right, or page up and page down?

Do you have any plugins that might be interfering with this? If you start a brand new project with no plugins, does it work?
Hmm, no it doesn't happen by default, even in a brand new project. Maybe we're thinking of different versions of the engine? I'm working in MV to be clear.

Also, I am using Yanfly's status menu plugin, although I eventually intend to write my own status screen to customize to my game's needs. I feel like I'm close to figuring this out, I just need a bit of a JavaScript boost... For example, I know that you can open any actor's status screen using $gameParty.setMenuActor($gameActors.actor(actor_id)); and then SceneManager.push(Scene_Status); but I don't know how to change those values while the player is actually viewing the status screen, or what would happen if I do. I've still got a long ways to go when it comes to actually understanding how this engine works! Thanks for the speedy reply though, it's nice to know that people are actually viewing these support forums!

Edit: OH MY GOD YOU'RE RIGHT IT'S PAGE UP AND PAGE DOWN. Wow, thank you so much, I didn't even know RPG maker recognized any keys besides X/Z/arrow keys by default. Well that's an entire evening of poring through JavaScript files made obsolete lol. I guess my next mission is to figure out how to change the default key bindings in rpg maker to use a less obscure key. Ahahahah. I'm going to leave this thread up so that whoever googles this problem next finds this instead of nothing like I did. Thanks again!
 
Last edited:

Shaz

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
44,715
Reaction score
15,839
First Language
English
Primarily Uses
RMMV
Code:
Scene_Status.prototype.create = function() {
    Scene_MenuBase.prototype.create.call(this);
    this._statusWindow = new Window_Status();
    this._statusWindow.setHandler('cancel',   this.popScene.bind(this));
    this._statusWindow.setHandler('pagedown', this.nextActor.bind(this));
    this._statusWindow.setHandler('pageup',   this.previousActor.bind(this));
    this._statusWindow.reserveFaceImages();
    this.addWindow(this._statusWindow);
};

Try replacing pagedown and pageup with right and left.
 

Latest Profile Posts

Progress on the title graphic:
titledemo3.png
titledemo2.png
I'm still looking at the best way to do the subtitle.
I haven't touched the forum or my project for months because a few people were being a little aggressive when I asked for help
its_a_random_world.jpg
Well after half a year of health problems (that aren't as bad as before), and playing with UE4 & 5... I realized I should finish this project before working on something else. So I decided to upgrade my randomizer. And really just focus on compromising wherever I can to finish the project sooner rather than later. :kaoswt:
hmmm. an art of mine was removed from reddit, for a reason not even listed.

Forum statistics

Threads
121,891
Messages
1,144,973
Members
160,149
Latest member
Willvg
Top