A thread almost on this subject was started and closed before I got a chance to ask for clarification.
I want to put an event in each troop before the battle starts that enables a particular character (actor ID = 8) to perform a specific action.
Essentially it calls up a common event, and there is a forced action which has the effect (based on a variable) of giving that character a premptive attack.
The question then becomes: how do I check if character 8 is in the active party?
The answer given was to use a script call $game_party.in_battle. Presumably this is placed in a conditional branch, with the 'Else' being nothing.
However, how do I format this so that it only checks if character 8 is in the party?
I want to put an event in each troop before the battle starts that enables a particular character (actor ID = 8) to perform a specific action.
Essentially it calls up a common event, and there is a forced action which has the effect (based on a variable) of giving that character a premptive attack.
The question then becomes: how do I check if character 8 is in the active party?
The answer given was to use a script call $game_party.in_battle. Presumably this is placed in a conditional branch, with the 'Else' being nothing.
However, how do I format this so that it only checks if character 8 is in the party?