me playMove "CombatMoveForward"

;get my position
myPos = getPos me
myPosX = myPos select 0
myPosy = myPos select 1

arrayGrp = units (myGrp)
arrayGrp set [0, "DELTHIS"]
arrayGrp = arrayGrp - ["DELTHIS"]

;get direction
_myDir = getdir me

;get distance move
_dist = 25
myPosx = myPosx + sin _myDir * _dist
myPosy = myPosy + cos _mydir * _dist

"_x commandMove [myPosx, myPosy]" forEach arrayGrp

["ExitSignal"]exec "menu\funct.sqs"

exit