BIS fnc saveVehicle: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Function|Comments= | {{Function|Comments= | ||
| arma3 |Game name= | | arma3 |Game name= | ||
Line 7: | Line 6: | ||
|gr1 = Vehicles |GROUP1= | |gr1 = Vehicles |GROUP1= | ||
| Save vehicle's params (textures, animations, crew). |Description= | | Save vehicle's params (textures, animations, crew). |Description= | ||
| [object,target,params,delete] call [[BIS_fnc_saveVehicle]] |Syntax= | | [object,target,params,delete] call [[BIS_fnc_saveVehicle]] |Syntax= | ||
Line 23: | Line 20: | ||
| [[Array]] - Saved value |Return value= | | [[Array]] - Saved value |Return value= | ||
|x1= <code>[BIS_tank, [<nowiki/>[[missionNamespace]], "BIS_someTankSave"], ["SomeRandomParam"], [[false]] ] [[call]] [[BIS_fnc_saveVehicle]];</code> |Example 1= | |x1= <code>[BIS_tank, [<nowiki/>[[missionNamespace]], "BIS_someTankSave"], ["SomeRandomParam"], [[false]] ] [[call]] [[BIS_fnc_saveVehicle]];</code> |Example 1= | ||
| [[BIS_fnc_loadVehicle]] |See also= | | [[BIS_fnc_loadVehicle]] |See also= |
Revision as of 23:50, 16 January 2021
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