The first combatant whose token is one of an actor's tokens.
Scans combatants in order and returns the first whose tokenId is in tokenIds, or null when none match. Combatants with a null tokenId are skipped.
combatants
tokenId
tokenIds
null
The combat's combatants, in turn order.
The ids of the actor's tokens (see selectActorTokens).
The first matching combatant, or null.
The first combatant whose token is one of an actor's tokens.
Scans
combatantsin order and returns the first whosetokenIdis intokenIds, ornullwhen none match. Combatants with anulltokenId are skipped.