{"name":"BIS_fnc_saveVehicle","operator":null,"title":"BIS fnc saveVehicle","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_saveVehicle","revid":363632,"updated":"2024-04-08T21:57:02Z","groups":["Vehicles"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.00"}],"since":{"game":"arma3","name":"Arma 3","version":"1.00"},"arma3_since":"1.00","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Save vehicle's params (textures, animations, crew).","syntaxes":[{"syntax":"[object,target,params,delete] call BIS_fnc_saveVehicle","since":null,"effect":null,"exec":null,"params":[{"name":"object","type":"Object","optional":false,"default":null,"description":"vehicle","types":["Object"],"since":null,"text":"object: Object - vehicle"},{"name":"target","type":"Array","optional":false,"default":null,"description":"in format:\n- 0: Namespace, Group or Object - Where the save will be saved\n- 1: String - Name of the save","types":["Array"],"since":null,"text":"target: Array - in format:\n- 0: Namespace, Group or Object - Where the save will be saved\n- 1: String - Name of the save"},{"name":"params","type":"Array","optional":true,"default":"`[]`","description":"additional parameters to be saved","types":["Array"],"since":null,"text":"params: Array - (Optional, default `[]`) additional parameters to be saved"},{"name":"delete","type":"Boolean","optional":true,"default":"false","description":"true to delete the save","types":["Boolean"],"since":null,"text":"delete: Boolean - (Optional, default false) true to delete the save"}],"returns":{"type":"Array","types":["Array"],"description":"saved value","text":"Array - saved value"}}],"examples":[{"text":"```sqf\n[BIS_tank, [missionNamespace, \"BIS_someTankSave\"], [\"SomeRandomParam\"], false] call BIS_fnc_saveVehicle;\n```","code":["[BIS_tank, [missionNamespace, \"BIS_someTankSave\"], [\"SomeRandomParam\"], false] call BIS_fnc_saveVehicle;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["BIS_fnc_initVehicle","BIS_fnc_loadVehicle","Arma 3: Vehicle Customisation"],"notes":[],"categories":["Arma 3: Functions","Arma 3: New Functions","Function Group: Vehicles","Functions","Introduced with Arma 3 version 1.00"],"docblock":null,"filled_from_docblock":[]}