conditional overwrite of the input signal's value
[sim, out] = ld_cond_overwrite(sim, events, in, condition, setto)
out * - output
in * - input to potentially overwrite
condition * - condition signal
out = in, if condition < 0.5
out = setto, otherwise