Ok, here is the deal (which im finding very frustrating).
Lets say I have a total party of 6 and an active party of 4, which means I have a Battle party of 4 (active) and a reserve party of 2 (reserve).
So, If I want to know if a specific actor IS in the party AND is an ACTIVE member I use: $gameParty._battleMembers.contains(X) and it works fine on the map. But if I call that INSIDE a BATTLE, it does not work.
If I want to check if X actor is in the party I use the event command, Conditional branch If X actor is in the party, this will look for that actor in the WHOLE (Active and Reserve) party, but only in the map. If I call it INSIDE a BATTLE, strangely, it will only look for the actor in the ACTIVE party, ignoring the reserve party.
If I want to store my party´s ID´s in variables, I use the Event command Control variables, game data, party member id. Which works fine and it places the 6 Ids of my party on 6 different variables, BUT if call that INSIDE a BATTLE, it will only store the 4 ids´of the active party, again, ignoring the 2 members in reserve, which those variables will return 0.
So, after this explanation, I just need to check for actors ids of the reserve party IN BATTLE. I dont get why some scriptcalls or commands function differently inside and outside battle.
Thanks!!
Lets say I have a total party of 6 and an active party of 4, which means I have a Battle party of 4 (active) and a reserve party of 2 (reserve).
So, If I want to know if a specific actor IS in the party AND is an ACTIVE member I use: $gameParty._battleMembers.contains(X) and it works fine on the map. But if I call that INSIDE a BATTLE, it does not work.
If I want to check if X actor is in the party I use the event command, Conditional branch If X actor is in the party, this will look for that actor in the WHOLE (Active and Reserve) party, but only in the map. If I call it INSIDE a BATTLE, strangely, it will only look for the actor in the ACTIVE party, ignoring the reserve party.
If I want to store my party´s ID´s in variables, I use the Event command Control variables, game data, party member id. Which works fine and it places the 6 Ids of my party on 6 different variables, BUT if call that INSIDE a BATTLE, it will only store the 4 ids´of the active party, again, ignoring the 2 members in reserve, which those variables will return 0.
So, after this explanation, I just need to check for actors ids of the reserve party IN BATTLE. I dont get why some scriptcalls or commands function differently inside and outside battle.
Thanks!!