Just make a check to see if the lead character is the guy you want (in this case, Daniel). Make a simple script call like this:
$game_variables[Whatever variable ID] =
$game_party.actors.empty? ? 0 :
$game_party.actors[0].id
So that if Daniel's Actor ID is 3, then the variable that you set will also be 3. Then you can just check that with conditional branches and what not.
Just make a check to see if the lead character is the guy you want (in this case, Daniel). Make a simple script call like this:
$game_variables[Whatever variable ID] =
$game_party.actors.empty? ? 0 :
$game_party.actors[0].id
So that if Daniel's Actor ID is 3, then the variable that you set will also be 3. Then you can just check that with conditional branches and what not.
Is the "?" supposed to be something else?