ArmaAchilles / Achilles

Achilles is a gameplay modification for Arma 3. It expands the Zeus real-time editor with many new additions as well as provides bug fixes.
Other
75 stars 54 forks source link

Copy vehicle customisations using deep copy #512

Open NikkoJT opened 5 years ago

NikkoJT commented 5 years ago

Currently, if you copy a vehicle, using ordinary Zeus copy or Achilles deep copy, the pasted vehicle reverts to the default customisation options for its class (i.e. a black Qilin reverts to hex or Pacific hex).

It would be very useful if the Achilles deep copy allowed you to copy vehicle customisations. I think BIS_fnc_initVehicle should be sufficient to set the options on the new vehicle, although I'm not sure how you might retrieve the information from the existing vehicle.