Conditional Branch Doesn't See Other Party Members

Hi

Hopefully this is the right place to post. I have been having trouble trying to get MV to recognize that I have newly added party members other than the player but for some reason it never returns true when the condition is met. I have a system in place that checks for whether an actor is affected by a state and then does things when they are affected by that state. But for some reason it never checks anyone other than the player and members that start in the party. Any clues as to why would be really helpful in fixing it.

upload_2017-7-30_17-51-4.png


Kind regards

madmanrex
how do you call that common event?
If it doesn't work then that is most likely because it isn't called correctly, because that common event cannot work on its own, it needs to be called to function.
It is being called by a simple parallel event as to constantly check for the change. It works for when I have have it all set to the players actor but whenever I make it check for someone else it doesn't seem to work. I made a mistake when I edited the post as I said newly added actors was all it affected but I did some more testing and it happens regardless of whether they are added by an event or by adding them through the system settings. Or at least it completes the first part by not the other. Even though regardless of that I wouldn't be able to add all the actors in through the system since that means they would begin with them instead of gaining them gradually.

upload_2017-7-30_21-7-14.png


I hope I am making sense and sorry if I'm not. ^ This is the event calling the common events. I figured that it should be constantly checking for the change if it is set to parallel.
do you only want to check on this specific map, nowhere else?
Because if you want to check everywhere it would be easier to set the common event to parallel directly.

The entire event structure looks more complex than it needs to be - can you please describe what exactly you want to do in the game?
Most likely the performance will be improved if it is used more directly and without all those checks and secondaries...
Well I know this is going to sound cheesy and the same to 60% of people that use rpg maker but I am trying to make a game similar to pokemon. The game mechanic I am trying to make that I am showing you now is a way for the actor to evolve to the opposite element that they have been afflicted with. I was originally trying to get an experience system to work so that depending on the enemies element they would gain experience in that element so that they can adapt to combat it with the opposite element that it is weak against.

I wasn't able to get that to work so instead I tried to do it this way. By having the enemy inflict an element onto the actor and if that actor reaches its next level in the same time then it will evolve to the opposite type as if it is adapting to combat that element.

So that is the system and as you can see I went a little ass backwards trying to get it to work. 😛
You don't need to have a map event set to parallel that calls the common event. Just set the common event to parallel, condition it by a switch, and turn the switch on when you want it to start checking.

It looks like you have an actor called Player? If you want to check if ANY character is affected by a state, you have to check character by character. You can't just create an actor called Player and expect it to refer to "any party member".

So that common event will work only if the actor called Alpha is in the party and if the actor called Player is affected by Fire and has learned Evolve. It's not working for anyone else because you've specifically told it to only work for that combination.
I am okay with that for now since the evolution will change based on the actor. This is really just a test run and originally it was set to check all those things for Alpha but for some reason if it is set to Alpha it doesn't work but if I set it all to check for the player then it works just fine. Sorry if I am being confusing with the screenshots. I was worried it was going to cause a problems with the fact that I am using the version of it that didn't work as opposed to the one where it did work but only for the player.

I do want it to work for all the possible creatures that will be in it but the problem is that they will all have their own evolution and will require them to be checked independently since if I do it to all then it will change them all to the same evolution.
Okay it appears that the problem was with one of my plugins that I was using to allow me to have multiple of the same actors like in pokemon. So once I removed it it started working again. I assume it has something to do with the fact that it was changing the actor id and so when it used its name its id was confused by the plugin creating a new one to allow it to have more of the same character. So now my problem is how do I get the same effect as the plugin without it? 😅
Stating what the plugin is and providing a link to it might be a good start.

Your response to me doesn't address or explain any of the things I said.
Well actually you were making statements about what my code was doing and what I should do instead and I responded by explaining what it needs to do and what it is doing.

The plugin is the SRD_CopyActor and it can be found on his website http://sumrndm.site/copy-actors/

I was simply asking for help and I tried to reply to the best of my ability. I was hoping it made sense when explaining my problem and what I planned on trying to achieve which I thought would address or explain what you said. I even mentioned how the examples I showed were wrong and that I originally intended to have them look for single actors only. Sorry if that wasn't clear in my response.

Original thread: https://forums.rpgmakerweb.com/threads/conditional-branch-doesnt-see-other-party-members.82011/