I don’t think I follow your logic.
Here you’re checking whether the character you’re controlling atm is a civilian (cast = treat the Player Character as if it was of BP Civilian type). Is your character whose perspective we see here a Civilian - if they are not, the cast should fail.
Since it’s not you being hit with the spray, this should not print. The player’s capsule is clearly not overlapping the spray here. We a see a doctor hitting someone else than you.