Hello,
I don't think there is a general command that does this but I would approach it like this.
For all vehicle situations I would essencially have 4 models:
1. One of the main character with walking around animation
2. One of the vehicle that sits there empty
3. One that's an animation of the character getting into the vehicle
4. One of the vehicle driving around with the character in it
You could use a flag that calls any of the 4 states:
If flag = 1
Go to the code that moves the character and only allows charcter stuff
If flag = 2
Whatever interaction is available with the empty vehicle (maybe it can be blown up, or entered)
If flag = 3
Switch to the model that is the animation of the character getting inside or climbing aboard
If Flag = 4
Show the model of the vehicle with the character and goto the specific routines of what actions can be performed
If you create the models to just run through the animations, you don't have to account for trying to get the character and the vehicle to interact. You just use the models to transition "scenes" like in a movie - then you just position your new action model and run the code that applies to it's abilities.
Know what I mean?
Enjoy your day.