Got it I think..
If I put flood to an unused output.. Then in the brain I can use an AND function between Z position and flood on.
There will only be air when flood is activated (via Gcode or myself) and the Z is less than -0.001.

I'll try it in practice tomorrow..

(not sure if there's a better solution than using an unused output for flood..)