Does anyone know of a function like <ConditionalBranch>-If actor image is {insert actorimage}-then...

Hi RPG Maker MZ family,

Just like the long title says.

I'm surprised this isn't within the core functionality, am I actually missing something. This must be a function the community has used before?

I actually found a work around but a function like this would still have many uses.
Please don't just make your thread:
"title"
If you want anyone to seriously help you, we cannot just read your mind, so more context would help us give you better ways of handling whatever it is you are trying to do.

So, with that said:
What are you trying to accomplish with this?
Also, you can insert script into a conditonal. Even if there is not a button for the function, the function may exist if you know how to write the script for it.

Also, lol, do you only want MZ users to help you? Why do you only address the "MZ family". I guess us, poor MV users have been disowned by the family and our help and knowledge is no longer valued by the upper class MZ family.
I'm surprised this isn't within the core functionality, am I actually missing something. This must be a function the community has used before?

I actually found a work around but a function like this would still have many uses.
you can pull that off with script calls, but imo its seems like too a niche thing to just have in the editor seeing as how the actor images arent usually tied to any mechanics

Code:
$gameActors.actor(1).characterName() == "Actor1"
put the line in the script box for a conditional branch, change the actor ID, and use the file name without the extension of your actor's image in your img/characters folder
@Robro33 Hey! Back off, you heathen MV user! You're no part of the MZ family.

Wait. My profil...I...noooooooo!

This must be a function the community has used before?
Nope, I have seen zero people ever ask this question.

But the code Robro provided will do ya just fine 🙂
you can pull that off with script calls, but imo its seems like too a niche thing to just have in the editor seeing as how the actor images arent usually tied to any mechanics

Code:
$gameActors.actor(1).characterName() == "Actor1"
put the line in the script box for a conditional branch, change the actor ID, and use the file name without the extension of your actor's image in your img/characters folder
Thank you for your time and providing us with a script call for my issue. I will give this a try, and direct users in the community if, on the off chance someone runs into the same issue, to this post.

Thanks again!

@Robro33 Hey! Back off, you heathen MV user! You're no part of the MZ family.

Wait. My profil...I...noooooooo!


Nope, I have seen zero people ever ask this question.

But the code Robro provided will do ya just fine 🙂
My project continues to be niche on niche lol! Now that we've discussed it maybe it will appear more, at least we have a solution now!

🙂

Please don't just make your thread:
"title"
If you want anyone to seriously help you, we cannot just read your mind, so more context would help us give you better ways of handling whatever it is you are trying to do.

So, with that said:
What are you trying to accomplish with this?
Also, you can insert script into a conditonal. Even if there is not a button for the function, the function may exist if you know how to write the script for it.

Also, lol, do you only want MZ users to help you? Why do you only address the "MZ family". I guess us, poor MV users have been disowned by the family and our help and knowledge is no longer valued by the upper class MZ family.

You rapscallion! MZ family because we are in the MZ support section!

But in all seriousness thank you for your input, we figured out the solution further down the thread.
Just a note, per the forum rules we're not supposed to double (or triple) post.

If you want to respond to multiple people, you can use the Quote or Reply buttons while typing one response, or just @tag the users.

I'm glad the solution is working for you.
Just a note, per the forum rules we're not supposed to double (or triple) post.

If you want to respond to multiple people, you can use the Quote or Reply buttons while typing one response, or just @tag the users.

I'm glad the solution is working for you.
Got you, Its been a long time since I have been active on a forum, It did feel weird formatting three messages in a row lol, For sure I will format correctly, Thank you and all the users for your patience and grace in helping us newbies out!

Original thread: https://forums.rpgmakerweb.com/threads/does-anyone-know-of-a-function-like-conditionalbranch-if-actor-image-is-insert-actorimage-then.171506/