OK........I decided to have a wee poke about with macgubas list of all the actions mentioned in this thread so far.
There were quite a few that seemed incomplete......so
I decided to play with the GETIN and MOVETO type actions to see what I could come up with.
To begin with:
GET IN: unit action ["get in",vehicle]
This is in the list, but sadly I couldn't get anyone to get in anything with it.
The same went for this variation I tried
GETIN: unit action ["getin",vehicle]
Also:
GET OUT: unit action ["get out",vehicle]
That doesn't work for me either.
But this works fine:
GETOUT: unit action ["getout",vehicle]
Anyway....onto my newer findings:
GETIN CARGO
unitname action ["getin cargo",vehiclename]
Unit will get into vehicle cargo if there is space.
Will even get into vehicle if the vehicle is miles away or flying, but I think the vehicle must be relatively slow moving or stationary. Unit seems to get teleported to the vehicles position and then does the getin animation.
GETIN COMMANDER
unitname action ["getin commander",vehiclename]
Unit will get into vehicle as commander if the position is empty.
Will even get into vehicle if the vehicle is miles away, but I think the vehicle must be relatively slow moving or stationary.
Unit seems to get teleported to the vehicle position and then does the getin animation.
GETIN DRIVER
unitname action ["getin driver",vehiclename]
Unit will get into vehicle as driver if the position is empty.
Will even get into vehicle if the vehicle is miles away or flying, but I think the vehicle must be relatively slow moving or stationary.
Unit seems to get teleported to the vehicle position and then does the getin animation.
GETIN GUNNER
unitname action ["getin gunner",vehiclename]
Unit will get into vehicle as gunner if the position is empty. Will even get into vehicle if the vehicle is miles away or flying, but I think the vehicle must be relatively slow moving or stationary.
Unit seems to get teleported to the vehicle position and then does the getin animation.
Note:
GETIN PILOT which is also in the list seems to do nothing.
Ok....Last lot
MOVETOCARGO
unitname action ["movetocargo",vehiclename]
Will immediately move a crew unit to cargo. If you order a pilot to do this, he will, and if the aircraft is flying it will no longer have a pilot unless there was a unit/units in cargo already, in which case they will swap positions.
However choppers sometimes fly erratically and even fly backwards when you swap pilots like this.
Works with player as well as AI.
MOVETOCOMMANDER
unitname action ["movetocommander",vehiclename]
Immediately moves a crew or cargo unit to commander position.
Original commander ends up in cargo or new commanders previous position.
Works with player as well as AI.
MOVETODRIVER
unitname action ["movetodriver",vehiclename]
Immediately moves a crew or cargo unit to driver position. Original driver ends up in cargo or new drivers previous position.
However choppers sometimes fly erratically and even fly backwards when you swap pilots like this.
Works with player as well as AI.
MOVETOGUNNER
unitname action ["movetogunner",vehiclename]
Immediately moves a crew or cargo unit to gunner position.
Original gunner ends up in cargo or new drivers previous position.
Works with player as well as AI.
Well, thats all for today, hope its useful.
Planck