sorry about that, i thought it was probably a simple syntax error which you guys could spot in a second...apparently not(no offence meant).
here is the whole script: called via [logictospawnat, grouptojoin] exec "spawnshite.sqs"
_ENFORCE2 = _this Select 0
_ASSAULT2 = _this Select 1
"ukf_infantry_lawWBb" createunit [getpos _ENFORCE2, _ASSAULT2,"wahman1=this","corporal",0.9]
~2
"ukf_infantryWBb" createunit [getpos _ENFORCE2, _ASSAULT2,"corporal",0.9 ]
~1
"ukf_infantryWBb" createunit [getpos _ENFORCE2, _ASSAULT2,"corporal",0.9 ]
~1
"ukf_infantryWBv" createunit [getpos _ENFORCE2, _ASSAULT2,"corporal",0.9 ]
~2
"ukf_infantryWBr" createunit [getpos _ENFORCE2, _ASSAULT2,"corporal",0.9 ]
~1
"ukf_infantry_rlgWBb" createunit [getpos _ENFORCE2, _ASSAULT2,"corporal", 0.9 ]
~1
"ukf_infantry_lswWBb" createunit [getpos _ENFORCE2, _ASSAULT2,"corporal",0.9 ]
~1
"ukf_infantry_lswWBb" createunit [getpos _ENFORCE2, _ASSAULT2,"corporal", 0.9 ]
~2
"ukf_infantry_lawWBb" createunit [getpos _ENFORCE2, _ASSAULT2,"corporal",0.9 ]
~1
"ukf_infantry_gmpgaWBb" createunit [getpos _ENFORCE2, _ASSAULT2,"corporal", 0.9 ]
~1
_ASSAULT2 setformation "wedge"
_ASSAULT2 allowfleeing 0
wahman1 removeweapon "UKF_LAW80Launcher"
wahman1 removemagazine "UKF_LAW80"
wahman1 removemagazine "JAM_W556_30mag"
wahman1 addmagazine "AALauncher"
wahman1 addweapon "AALauncher"
It gives the error "ukf_infantry_lawWBb" createunit [getpos _ENFORCE2, _ASSAULT2,"wahman1=this","corporal",0.9]l#l error type number, expected string
I tried putting it at the bottom, and all the other units get created without A problem (other than the slight mini second freeze) until it comes to wahman1.