Hiding an actor from the battle status window

Popelus

Villager
Member
Joined
Mar 14, 2019
Messages
18
Reaction score
2
First Language
Spanish
Primarily Uses
RMMV
Hey there!

Specifically, my question concerns summoned actors (in my case, using SRD_SummonCore). They're there only temporarily, and in my game they can't even be controlled by the player, so it feels kind of weird that they show up at the battle status window (I am using YEP_BattleStatusWindow, but this could apply even if I was using the standard hud).

So, is there any way to easily make certain actors not show up in there?

Thank you!
 

Popelus

Villager
Member
Joined
Mar 14, 2019
Messages
18
Reaction score
2
First Language
Spanish
Primarily Uses
RMMV

Klammsi

Veteran
Veteran
Joined
Nov 19, 2016
Messages
58
Reaction score
9
First Language
English
Primarily Uses
Hey @Popelus did you ever figure this out? I am trying to achieve the same thing but so far couldn't find an answer to it...
 

Solar_Flare

Veteran
Veteran
Joined
Jun 6, 2020
Messages
533
Reaction score
235
First Language
English
Primarily Uses
RMMV
(I am using YEP_BattleStatusWindow, but this could apply even if I was using the standard hud)
I use it too, and yeah, it does apply to the standard HUD. Personally I like that they show there, especially since a few of my summons are actually controllable by the player, but I guess your mileage may vary.

For the standard HUD, I guess what you'd need to do is override
Window_BattleStatus.prototype.maxItems to return only the number of permanent party members. I believe this would work:

JavaScript:
Window_BattleStatus.prototype.maxItems = function() {
    return $gameParty.rawBattleMembers().length;
};
I have no idea whether that'll also work for Yanfly's BattleStatus, but it's worth a try?
 

Popelus

Villager
Member
Joined
Mar 14, 2019
Messages
18
Reaction score
2
First Language
Spanish
Primarily Uses
RMMV
@Solar_Flare Thank you for your reply! In my case, I didn't want summoned actors to show up for coherence reasons, since they didn't show up when I had a full 4 actors party. It just felt weird that they did show up in the early game, when there were only 2 actors in the party. Plus summoned actors were not controllable in my case. Again, thank you!

@Klammsi In the end, I gave the summoned actors a Face image and just let them be there, they stop showing up when you get a full party anyway. Hope Solar Flare's method works!
 

Solar_Flare

Veteran
Veteran
Joined
Jun 6, 2020
Messages
533
Reaction score
235
First Language
English
Primarily Uses
RMMV
@Solar_Flare Thank you for your reply! In my case, I didn't want summoned actors to show up for coherence reasons, since they didn't show up when I had a full 4 actors party. It just felt weird that they did show up in the early game, when there were only 2 actors in the party. Plus summoned actors were not controllable in my case. Again, thank you!
By default they actually do get added to the battle status window even with 4 actors in the party - if you look closely at the battle status window, you'll see the arrow indicating there's more to see. There's no way to scroll the battle status window though, so if you can't control them you'll never see them.
 

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

Latest Threads

Latest Posts

Latest Profile Posts

"You can thank my later", "But you haven't done anything", "Well, that's why ..."
Are we allowed to post about non-RPG Maker games?
I should realize that error was produced by a outdated version of MZ so that's why it pop up like that
Ami
i can't wait to drink some ice after struggling with my illness in 9 days. 9 days is really bad for me,i can't focus with my shop and even can't do something with my project
How many hours have you got in mz so far?

Forum statistics

Threads
105,884
Messages
1,017,238
Members
137,608
Latest member
Arm9
Top