Inn Bedroom cutscene - Conditions help

A recent playtester (who has never played an RPG with an Inn) was confused about the interaction with the Innkeeper.

I am going to cut to a bedroom scene of the characters sleeping, but I have one hurdle: there are 21 characters in my project and only 4 in your party.

Can anyone tell me the conditions for this:

Check what actor the party leader is, show a certain picture dependent on who.

Check what actor member1 is, show a certain picture

Et cetera.


Thank you in advance,

GEA
if script: $gameParty.members()[0].actorId() == 1 do stuff
else: if script: $gameParty.members()[0].actorId() == 2 do stuff
Thanks P.

Would it be:

$gameParty.members(1)[0].actorId(1) == SHOWS pic of Actor 1 where Party Member 1 is placed

?


GEA
No, it wouldn't.
I repeat. In the conditional branch command you use the script field and type in
$gameParty.members()[0].actorId == 1
it means: if the first party member is the first actor in the database
You can do the picture show via Show picture command afterwards.
OK, will try it out tonight.

Thank you, Poryg =)

Original thread: https://forums.rpgmakerweb.com/threads/inn-bedroom-cutscene-conditions-help.96969/