Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
I believe you could assign the BFG flash a damage type and then give those actors that you don't want hurt an immunity to that type. I think they would still get hit by the flashes, but they wouldn't take any damage.