Chat help?

Ok so I have asked 2 questions so far on this forum both answered quick and effectively,Im suprised how good this community is ^_^.

I have another question that I cant really phrase on google so I cant search for answer.

In my project I start of with an event that asks for name and class,once class is picked it changes graphic and face of first actor.

Once the game start I want the main charecter to say something but I cant seem to find a way to make the it so when the charecter is saying something it shows the right face graphic.

I cant pick a graphic as there are 4 different possible classes and I want the graphic to be different for each class is this possible?
Conditional branches - create one actor per class in the database, then change the actor in the party dependng on choice made. Next, set up conditional branches in your speech depending on which actor is chosen.
Conditional branches - create one actor per class in the database, then change the actor in the party dependng on choice made. Next, set up conditional branches in your speech depending on which actor is chosen.
I found a way easier so I dont have to change earlier event.

I make the conditional branch change the graphic by checking which class the player is.

Thank you very much for the help! ^_^

Original thread: https://forums.rpgmakerweb.com/threads/chat-help.41615/