(EST - Clone Actor v1.1) Gather a custom actor's new actor ID to display certain images

Hello!
I was wondering if there was a way to gather the custom actor's new ID so that it can display certain pictures when they are in a conversation and/or when they a selected in a new window menu that will be used to match certain characters.

This is kind of what I was thinking, but I'm not sure if it'd even work correctly.

Ruby:
selected_actor = $data_actors[actor_id].custom_actor

if selected_actor == $data_actors[actor_id].custom_actor

link to the original script https://www.rpgmakercentral.com/topic/9767-est-clone-actor/

EDIT: I am also using Sakuraba's Party Storage System (PSS) v1.2
Which is this script https://www.rpgmakercentral.com/topic/26029-party-storage-system-updated-v12/
I think we need more info.

I'm not sure how you intend to select the new actor.
The actor is in the party are they not?

Is it that the new actor has the original actors face?
If so then in the event that you create the new actor you can use a script command to get the actor id and then use commands to change the graphic of the actor, then the face will be different.

then find where in the party list the actor is located and save that to a variable.

If you have yanfly's message script you can do something like this (untested)
So in a conversation you can use \af[\v[x]] to show the actors face

Otherwise I need more info.
You run the script command and create the new actor, then when are you doing something with the new actor?

Depending on how many new actors you make the actor id is easy to find.
If you have just one new actor then they will be the last member of the party, unless you reorganized them.
id = $game_party.members[-1].id
I think we need more info.

I'm not sure how you intend to select the new actor.
The actor is in the party are they not?

Is it that the new actor has the original actors face?
If so then in the event that you create the new actor you can use a script command to get the actor id and then use commands to change the graphic of the actor, then the face will be different.

then find where in the party list the actor is located and save that to a variable.

If you have yanfly's message script you can do something like this (untested)
So in a conversation you can use \af[\v[x]] to show the actors face

Otherwise I need more info.
You run the script command and create the new actor, then when are you doing something with the new actor?

Depending on how many new actors you make the actor id is easy to find.
If you have just one new actor then they will be the last member of the party, unless you reorganized them.
id = $game_party.members[-1].id
I am using party storage system, they will be stored in there which is essentially a hotel. These selected actors will have the same actors face and graphic, it already has that but. The reason I want it to display an image is so that when in a special menu it will show what traits they have. Each actor has a few custom variables, but I already have those sorted out. The variables will also display certain images.
when in a special menu
OK so I think we need to know what that menu is and how you get there.
Is it a script you got or one you made?
If you select the actor from the menu screen before going into this special menu then we can probably just modify the actor select input to save the actor id and then you can use the saved data in the special menu to do what you want.
If you are using the storage system to get to the special menu, then we need to know what the storage system is and we can modify that to get the selected actor.
OK so I think we need to know what that menu is and how you get there.
Is it a script you got or one you made?
If you select the actor from the menu screen before going into this special menu then we can probably just modify the actor select input to save the actor id and then you can use the saved data in the special menu to do what you want.
If you are using the storage system to get to the special menu, then we need to know what the storage system is and we can modify that to get the selected actor.
This special menu is going to be one I'm going to script, it isn't done just yet. But the idea is that is going to take the information from the party storage and display it. Here is can show you what my half baked idea is outlined like.

Code:
###Script calls
#Open Matching_Menu
#Close Matching_Menu
#Confirm Match_Up
#Cancel Match_Up

###Draw the windows, is going to take up 1/4 of the screen. One is going to be
#on the far right and the other is on the far left. A text window is displayed
#saying "Who would you like to pair up?" If you press ESC it will close the menu.###

###Display 2 actor faceslots(?) per row. When selected selected_actor =
#custom_actor.(new_id).###

###If selected_actor == custom_actor.(x), display picture(x) ###

Original thread: https://forums.rpgmakerweb.com/threads/est-clone-actor-v1-1-gather-a-custom-actors-new-actor-id-to-display-certain-images.159380/