Hi! First of all, thank you SO much in advance for how much you are always helping me.
Second, so you know how you can easily change with an event command the Actor's Name, Image, Profile, and Class by just picking it´s ID? I would like to be able to change those but calling it if the actor member 1 in the party has an specific Class and Level, something like
If $gameParty.members()[1](actor => actor.isClass($dataClasses[11]) && actor.level >= 1 )
Then
$gameParty.members()[1].setProfile("Here is some profile text.");
But I´m not sure how to script call it properly. ( I would need it cause I´m trying to implement having duplicate actors on the game, if I can´t is okay too I can revert to how I had this prior duplicates but I wanted to try to see how it goes)
I have this script here to find any battle party member with those conditions (as the actors were unique I only needed to find if it´s ID had a specific level) but as I would have duplicates now I would like to just check if the first in the party matches the Class instead of ID and Level. In case this helps.
$gameParty.battleMembers().some(actor => actor.actorId() === 11 && actor.level >= 1 )
Thanks a million!! and sorry if it´s a bit messy writting as I was writting it I kept realizing the most direct thing I would need ahah.
Second, so you know how you can easily change with an event command the Actor's Name, Image, Profile, and Class by just picking it´s ID? I would like to be able to change those but calling it if the actor member 1 in the party has an specific Class and Level, something like
If $gameParty.members()[1](actor => actor.isClass($dataClasses[11]) && actor.level >= 1 )
Then
$gameParty.members()[1].setProfile("Here is some profile text.");
But I´m not sure how to script call it properly. ( I would need it cause I´m trying to implement having duplicate actors on the game, if I can´t is okay too I can revert to how I had this prior duplicates but I wanted to try to see how it goes)
I have this script here to find any battle party member with those conditions (as the actors were unique I only needed to find if it´s ID had a specific level) but as I would have duplicates now I would like to just check if the first in the party matches the Class instead of ID and Level. In case this helps.
$gameParty.battleMembers().some(actor => actor.actorId() === 11 && actor.level >= 1 )
Thanks a million!! and sorry if it´s a bit messy writting as I was writting it I kept realizing the most direct thing I would need ahah.