attachToMovement
Usage of this scripting command:
1. Object names and unit class-names can be used.
2. Example: "B_G_Soldier_F attachToMovement [I_Heli_Transport_02_F];"
Movement is taken from the vehicle/object the unit is attached to and then applied to the unit. (The unit inherits the movement from the vehicle/object it is attached to.)
Movement is made up of:
1. setVectorDirAndUp [[x, y, z],[x, y, z]]; and getVectorDirAndUp [[x, y, z],[x, y, z]];
2. getVelocity [x, z, y]; and Velocity [x, z, y];
3. detach object/classname (For if the unit leaves the vehicle or walks/drives off of it.)
4. Any other movement related commands needed.
With the isTouchingObject scripting command related to this ticket, you could dynamically use attachToMovement when moving on and off an a vehicle or object.