@: It looks mostly correct, but if you’re after the same thing Imonin wanted you want the while loop to fire when the current pawn has faction player, not enemy.
@: It looks mostly correct, but if you’re after the same thing Imonin wanted you want the while loop to fire when the current pawn has faction player, not enemy.