This script is written for an older version of arma3 (yes its a bit of a necro thread now, but its still a useful script to use)
The script produces an error about waitUntil returned Nil , boolean expected,
Still produces the trace but it waituntil now loop instruction must have changed syntax since this was written, and I'm not a coder. so
How to update this to fix this error?