BIS fnc saveVehicle: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "(\|[pr][0-9]+ *= *[^-\r\n]+) *- *V([a-z])" to "$1 - v$2") |
Lou Montana (talk | contribs) m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *S([a-z ])" to "$1 - s$2") |
||
Line 17: | Line 17: | ||
|p4= delete: [[Boolean]] - (Optional, default [[false]]) [[true]] to delete the save | |p4= delete: [[Boolean]] - (Optional, default [[false]]) [[true]] to delete the save | ||
|r1= [[Array]] - | |r1= [[Array]] - saved value | ||
|x1= <sqf>[BIS_tank, [missionNamespace, "BIS_someTankSave"], ["SomeRandomParam"], false ] call BIS_fnc_saveVehicle;</sqf> | |x1= <sqf>[BIS_tank, [missionNamespace, "BIS_someTankSave"], ["SomeRandomParam"], false ] call BIS_fnc_saveVehicle;</sqf> |
Revision as of 15:49, 8 November 2023
Description
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