Now I got a new issue how do I get my units into an empty unassigned boat?
Are the units under your command?
If not, then you will need to assign one of them as a driver, one of as a gunner (if applicable) and the rest as cargo. The syntax is:
_soldier assignAsCargo _boat
Where _soldier and _boat are the names of the units. For the units being assigned as driver and gunner, use assignAsDriver & assignAsGunner. As a sidenote, if you're dealing with a vehicle with a commander spot (ie tank), you can use assignAsCommander.
After you've assigned your units, providing that the units are NOT under direct control of the player, you use the orderGetIn command:
[_soldier] orderGetIn true
If you have all of your units getting in as cargo, you can simplify matters by using this:
{[_x] OrderGetIn true} foreach units _groupname
However if you have one of your units getting in as a driver then you can't use this, and I think you will have to name each unit and have a line of code for each unit...not sure if there is an easier way of doing this.
Hope that helps.
PS. Next time open a new thread for a new question