Put this in each units init line
[this] exec "crouchloop.sqs"
puting
this in brackets passes the soldiers name to the script allowing you to use the same script as many times as you want. You could also put the soldiers name in the brackets (eg [bob] exec "crouchloop.sqs") but using
this lets you copy and paste from one unit to the next = much faster.
Amend your crouchloop script thus:
_unit = _this select 0
;this bit select the soldiers name to execute the script
;the underscore _ makes the variable local to this script
;do a search for local / global variables on this forum for more info
_unit setUnitPos "UP"
#loop
_unit switchMove "CrouchToCombat"
~0.2
goto "loop"
That should be it