Specific actor in battle

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? 
You can do this with the conditional branch event command.
Do you mean like this?

Spoiler
">http://s1323.photobucket.com/user/ksjp17/media/ActorInBattle_zpsaafc0911.png.html'>
ActorInBattle_zpsaafc0911.png
I don't know what the script call is for since it's not doing anything but that should work.
As far as I can tell from the other thread, that is to determine that the character is in the active party, not the reserve party.
Oh, this is not a troop event.

Then your condition needs to be something like

Code:
$game_party.battle_members.include?($game_actors[8])
Again, I don't know what the "in_battle" check is for, but whoever said it forces the conditional branch to check the active party is probably using their own scripts to add this functionality.
Thanks for that clarification.  I'm almost at the stage where I shall be adding this character to the party, so I should be able to test it in the next day or so.  I'll leave the thread open until then, just in case.

Original thread: https://forums.rpgmakerweb.com/threads/specific-actor-in-battle.19660/