ive created this little script
_grpw = _this select 0
_pos1 = [getpos leader _grpw select 0,(getpos leader _grpw select 1)-5,getpos leader _grpw select 2]
"SoldierWLAW" createunit [getpos _pos1, _grpw]
~0.75
"SoldierW" createunit [getpos _pos1, _grpw]
~0.75
"SoldierW" createunit [getpos _pos1, _grpw]
exit
_this select 0 is the groups name eg grpBravo wich i initialised from the leaders init field
the problem is that the unit isnt created and i get an error about the group after the first comma in the line to create the unit where you assign the group
why isnt this working ?
cheers