BIS fnc saveVehicle: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|gr([0-9]+) = " to "|gr$1= ")
m (Text replacement - " \| *(\[\[[a-zA-Z ]+\]\].+) \|x1=" to " |r1=$1 |x1=")
Line 18: Line 18:
|p4= delete: [[Boolean]] - (Optional, default [[false]]) [[true]] to delete the save
|p4= delete: [[Boolean]] - (Optional, default [[false]]) [[true]] to delete the save


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


|x1= <code>[BIS_tank, [<nowiki/>[[missionNamespace]], "BIS_someTankSave"], ["SomeRandomParam"], [[false]] ] [[call]] [[BIS_fnc_saveVehicle]];</code>
|x1= <code>[BIS_tank, [<nowiki/>[[missionNamespace]], "BIS_someTankSave"], ["SomeRandomParam"], [[false]] ] [[call]] [[BIS_fnc_saveVehicle]];</code>

Revision as of 21:35, 10 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Execution:
call
Groups:
Vehicles

Syntax

Syntax:
Syntax needed
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