RMMV How to open the status page of a specified actor in a map event?

siuleeboss

Veteran
Veteran
Joined
Apr 29, 2019
Messages
58
Reaction score
14
First Language
Chinese
Primarily Uses
RMMV
I want to open the status page of the specified actor through js in the event, how can I do it?
I know SceneManager.push(Scene_Status); can open the status page, but this is not what I want because it always shows the first player and when I want to show the second or third or fourth player, it can't help me
 
Last edited:

Kenen

Veteran
Veteran
Joined
Apr 3, 2012
Messages
397
Reaction score
365
First Language
English
Primarily Uses
RMMZ
JavaScript:
const id = 3; // the actor id
$gameParty._menuActorId = id;
SceneManager.push(Scene_Status);
 

siuleeboss

Veteran
Veteran
Joined
Apr 29, 2019
Messages
58
Reaction score
14
First Language
Chinese
Primarily Uses
RMMV
JavaScript:
const id = 3; // the actor id
$gameParty._menuActorId = id;
SceneManager.push(Scene_Status);
This works, thanks for your help
 

Latest Threads

Latest Posts

Latest Profile Posts

Voice.gif
The Voice... They usually show up to talk to you about leaving your mark on the world, which is one of the major themes of my game... How will you be remembered by society.
The only time my brother shows me any kind of support is by liking or LOL my Facebook Comments.
I finally finished the Coliseum for my game. Love how it looks. Credits for the assets goes to Kokoro Reflections, @Starbird_Resources, and @megumi014.
Colossuem.png
Mimics! Mimics everywhere!

Forum statistics

Threads
124,514
Messages
1,164,170
Members
163,349
Latest member
roydonne
Top