Joined
Mar 19, 2018
Messages
65
Reaction score
73
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

Keeper of the Nuts
Global Mod
Joined
Mar 2, 2012
Messages
46,006
Reaction score
16,822
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
65
Reaction score
73
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

Keeper of the Nuts
Global Mod
Joined
Mar 2, 2012
Messages
46,006
Reaction score
16,822
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 Threads

Latest Profile Posts

Here's a screenshot of my newest map. Take in consideration that I'm no mapper at all. :p

quicktrip-dungeon002.jpg
new-lightning-rod-1.gif


Today I removed a lot of flashing used in many attack animations. Instead there's a deep or shallow rumble (it's more satisfying when the controller rumbles with it anyway). I thought about it ever since I nearly blinded myself in the early morning and because someone brought it up. I also realized I have to redo much of Somewhen's thread...
My car Got hit by a car. I'm alive . Left hand hurts to poops . Spend so much time trying to motivate for these moments. Reality is so much quicker, can't sleep and world move on ish.
Just got done hand feeding some baby raccoons who were orphaned when the mother was killed by a car.

First time in my life I've done it and they are adorable.

Taking them in the morning to a Rescue that specializes in wild animals so they will survive. :D

Forum statistics

Threads
131,623
Messages
1,221,671
Members
173,360
Latest member
Airotkiv
Top