Hi.. i seemed to have figured it out.. tho the para.sqs is not working. It seems as the script folders dont work, and something in the para.sqs code.. which is weird. Took my ages to figure this out, now the truck picks up the unit's and take them back too the base woo!.. I wanna know.. how would i go about making a grp move to a position.. but somehwere around that position a set distance away...
So basically a random position around the officer within 10m.. i tried this
_grp move (getPos officer)sin+5,(getPos officer)cos+4)
but due to my rubbish knowledge.. and of course in my logical brain this looks weird.. can someone help me? thanks.
edit: Oh yeh, here's the move script.. works like a charm... guess some people can use it for their missions? lol free script from me!
; *******************************************************
; ** BacktoBase *****************************************
; *******************************************************
_grp = _this select 0
_vehi = _this select 1
_pos = _this select 2
~5
? ({alive _x} count units _grp) == 0: goto "truckmove"
? !(alive _vehi) : goto "unitmove"
goto "getin"
#truckmove
_vehi sideChat "Looks like there is no one to take back to the base, truck moving out."
_vehi move (getPos _pos)
@(unitReady units _vehi)
exit
#unitmove
_grp sideChat "Looks like WE have to make our own way to the base, unit's moving out"
_grp move (getPos _pos)
@(unitReady units _grp)
exit
#getin
_grp move (getPos _vehi)
@(unitReady units _grp)
_vehi sideChat "We're ready, truck moving out."
({_x assignAsCargo _vehi}forEach units _grp)
~1
([_grp]allowGetIn true)
@(unitReady units _grp)
_vehi move (getPos _pos)
@(unitReady units _vehi)
_grp leaveVehicle _vehi
_grp move (getPos officer)sin+5,(getPos officer)cos+4)
exit