;Add as many targets as needed to the array (18?)
_targets = [targetshooting_1, targetshooting_2, targetshooting_3, targetshooting_4]
"_x setDamage 1" forEach _targets
#startt
? _stop == 1 :goto "end"
_number= random (count _targets)
_number = _number - (_number % 1);
(_targets select _number) setDamage 0
~3.0
(_targets select _number) setDamage 1
goto "start"
#end
exit