[RPG Maker VX Ace] Removing certian actors from the menu display

Okay, so the game I am playing around with involves the using actors to keep tract of creatures. I want these actors to show up in the main menu display. Is there any way (script or otherwise) to remove a certian actor from being displayed in the menu? If there is, can someone point me in the right direction rather than flat out tell me how?

I am using a custom menu script, however I am wanting to know if it is even possible to remove a certian actor from being displayed before I even consider figuring out what I need to mess with in the scripts to accomplish it.

(In short; Is it possible at all?)
It needs scripting, but as soon as it comes to scripts everything is possible - it might be a lot of work in some cases, but still everything's possible.

Removing a certain actor from the display - especially if you're using a custom menu script anyway, should be "relatively" simple by copying the actor list, remove the actor's you don't want displayed and then redirect a custom screen to the new actor list instead of the true actor list.

Depending on which custom menues and which custom screens you're using there might even be still simpler and faster ways - but since you didn't give links to those scripts I can't check what is easy with them. the method above is a bit more work but should function in all cases.
Thank you Andar. The best approach would be through scripts then? There is a reason I did not post what scripts I am using. I am learning how to script and as vain as it is to say I would want to try and figure out 'how', so long as I was sure it could be done in some way. And it can be, I just have to be clever about it (if I am understanding you correctly).

Right now I am using XaiL's menu/journal system. I can understand most of the scripts I see, I just do not have the skill/knowledge to write them from nothing yet. I had actually thought of using the journal system in such a way as you described (a fake status window). Though I was unsure if I could manipulate it to show the hp/mp bars and such. And it would also involve me figuring out how to remove the actor display on the menu (probably not hard at all, will try commenting out that section and go from there with window alterations).
I've moved this thread to RGSSx Script Support. Please be sure to post your threads in the correct forum next time. Thank you.


If you want help with your script, you'll actually need to provide a link to the scripts you're using.
I did something similar somewhat recently because I had a temporary "party member" that I only wanted visible in battle. I can offer some suggestions based on my experience if you intend to figure this out yourself. Otherwise, I'd recommend posting a link to the script like Shaz suggested.

The first thing to consider is how many there are and how you want to identify them as not displayable in the menu. In my case, the actor is also untargetable, so I simply piggybacked off the function that gets the targetable party members. You could do it based on actor ID, class ID, a state being inflicted, a notetag; the possibilities are almost endless. I'd only recommend ID if there's only a few.

Next, you're going to want to make a function in Game_Party that gets an array of the actors you want displayed.

class Game_Party < Game_Unit def menu_members members.select {|member| condition } endendReplacing "condition" with whatever you need. member.id == 2 for example if you want the second actor to not show up. As long is it evaluates as true or false.Still in Game_Party, you're going to want to change the menu_actor_next and menu_actor_prev functions. Change members to menu_members (or whatever you decide to name the function).

And finally, you're going to need to change any reference of members in Window_MenuStatus to menu_members. There's a few (item_max, draw_item, process_ok).

I believe those are all the spots you need to change, but it's been a while. I'm not testing this, so I can't guaranteeing accuracy.

Original thread: https://forums.rpgmakerweb.com/threads/rpg-maker-vx-ace-removing-certian-actors-from-the-menu-display.17942/