To open the front doors (for driver and commander) use in the init line of the vehicle or in the script this code:
skot animate ["BackDoorL",1];
skot animate ["BackDoorP",1];
Where "skot" is the name of the vehicle in the editor.
To open the back cargo doors use in the init line of the vehicle or in the script this code:
skot animate ["FrontDoorL",1];
skot animate ["FrontDoorP",1];
Where "skot" is the name of the vehicle in the editor.
To close the front doors (for driver and commander) use in the init line of the vehicle or in the script this code:
skot animate ["BackDoorL",0];
skot animate ["BackDoorP",0];
Where "skot" is the name of the vehicle in the editor.
To close the back cargo doors use in the init line of the vehicle or in the script this code:
skot animate ["FrontDoorL",0];
skot animate ["FrontDoorP",0];
Where "skot" is the name of the vehicle in the editor.