BIS fnc loadVehicle: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (1 revision imported: BIS Functions update 7/7)
m (pf)
Line 1: Line 1:
 
{{Function|Comments=
{{Function|= Comments
____________________________________________________________________________________________
____________________________________________________________________________________________


| arma3 |= Game name
| arma3 |Game name=


|1.00|= Game version
|1.00|Game version=
____________________________________________________________________________________________
____________________________________________________________________________________________


| <pre>/*
| Load vehicle look saved with [[BIS_fnc_saveVehicle]]. |Description=
Author: Karel Moricky
____________________________________________________________________________________________


Description:
| [object,target] call [[BIS_fnc_loadVehicle]] |Syntax=
Load vehicle look


Parameter(s):
0: OBJECT - object which will receive the params
1: ARRAY in format [NAMESPACE or GROUP or OBJECT,STRING] - params saved using BIS_fnc_saveVehicle


Returns:
|p1= object: [[Object]] - Vehicle |Parameter 1=
BOOL
*/


</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
|p2= target: [[Array]] - in format:
____________________________________________________________________________________________
*0: [[Namespace]], [[Group]] or [[Object]] - Where the save will be saved
*1: [[String]] - Name of the save |Parameter 2=


| <!-- [] call [[BIS_fnc_loadVehicle]]; --> |= Syntax
|p1= |= Parameter 1


| |= Return value
| [[Boolean]] |Return value=
____________________________________________________________________________________________
____________________________________________________________________________________________


|x1= <code></code> |=  
|x1= <code>[BIS_tank, [ [[missionNamespace]], "BIS_someTankSave"] ] [[call]] [[BIS_fnc_loadVehicle]];</code> |Example 1=
____________________________________________________________________________________________
____________________________________________________________________________________________


| |= See also
| [[BIS_fnc_saveVehicle]] |See also=
}}


}}


<h3 style="display:none">Notes</h3>
<h3 style="display:none">Notes</h3>

Revision as of 15:20, 6 June 2018

Hover & click on the images for description

Description

Description:
Load vehicle look saved with BIS_fnc_saveVehicle.
Execution:
call
Groups:
Uncategorised

Syntax

Syntax:
[object,target] call BIS_fnc_loadVehicle
Parameters:
object: Object - Vehicle
target: Array - in format:
Return Value:
Boolean

Examples

Example 1:
[BIS_tank, [ missionNamespace, "BIS_someTankSave"] ] call BIS_fnc_loadVehicle;

Additional Information

See also:
BIS_fnc_saveVehicle

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