A vehicle spraying a mist of dark paint ahead of it? That would certainly be a sight to behold. Breaking the beam ahead of the first vehicle won't work if the beam is allowed to be broken n times before detonation.
Once you painted the detector opaque - the beam has been broken for the last time, finally broken. No n times there.