BIS fnc saveVehicle: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " |s1=[" to " |s1= [") |
Lou Montana (talk | contribs) m (Text replacement - "<code>([^<]*)<nowiki\/>\[\[([a-zA-Z0-9_]+)\]\](.*)<\/code>" to "<code>$1$2$3</code>") |
||
Line 19: | Line 19: | ||
|r1= [[Array]] - Saved value | |r1= [[Array]] - Saved value | ||
|x1= <code>[BIS_tank, | |x1= <code>[BIS_tank, [missionNamespace, "BIS_someTankSave"], ["SomeRandomParam"], [[false]] ] [[call]] [[BIS_fnc_saveVehicle]];</code> | ||
|seealso= [[BIS_fnc_loadVehicle]] | |seealso= [[BIS_fnc_loadVehicle]] | ||
}} | }} |
Revision as of 12:10, 13 July 2022
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