BIS fnc saveVehicle: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category\:Function Group\: Vehicles(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to "")
m (Text replacement - "True" to "true")
Line 20: Line 20:
*1: [[String]] - Name of the save |Parameter 2=
*1: [[String]] - Name of the save |Parameter 2=
|p3= params: [[Array]] - (Optional, default []) Additional parameters to be saved |Parameter 3=
|p3= params: [[Array]] - (Optional, default []) Additional parameters to be saved |Parameter 3=
|p4= delete: [[Boolean]] - (Optional, default [[false]]) [[True]] to delete the save |Parameter 4=
|p4= delete: [[Boolean]] - (Optional, default [[false]]) [[true]] to delete the save |Parameter 4=


| [[Array]] - Saved value |Return value=
| [[Array]] - Saved value |Return value=

Revision as of 17:36, 26 December 2020

Hover & click on the images for description

Description

Description:
Save vehicle's params (textures, animations, crew).
Execution:
call
Groups:
Vehicles

Syntax

Syntax:
[object,target,params,delete] call BIS_fnc_saveVehicle
Parameters:
object: Object - Vehicle
target: Array - in format:
params: Array - (Optional, default []) Additional parameters to be saved
delete: Boolean - (Optional, default false) true to delete the save
Return Value:
Array - Saved value

Examples

Example 1:
[BIS_tank, [missionNamespace, "BIS_someTankSave"], ["SomeRandomParam"], false ] call BIS_fnc_saveVehicle;

Additional Information

See also:
BIS_fnc_loadVehicle

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note



Notes

Bottom Section