BIS fnc loadVehicle: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Generated by BIS_fnc_exportFunctionsToWiki)
 
m (fixed parameter descriptions)
 
(30 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{RV|type=function


{{Function|= Comments
|game1= arma3
____________________________________________________________________________________________
|version1= 1.00


| arma3 |= Game name
|gr1= Vehicles


|1.00|= Game version
|descr= Load vehicle appearance saved with [[BIS_fnc_saveVehicle]].
____________________________________________________________________________________________


| <pre>/*
|s1= [object,target] call [[BIS_fnc_loadVehicle]]
Author: Karel Moricky


Description:
|p1= object: [[Object]] - vehicle
Load vehicle look


Parameter(s):
|p2= target: [[Array]] - in format:
0: OBJECT - object which will receive the params
*0: [[Namespace]], [[Group]] or [[Object]] - location of the previously saved appearance
1: ARRAY in format [NAMESPACE or GROUP or OBJECT,STRING] - params saved using BIS_fnc_saveVehicle
*1: [[String]] - name of the saved appearance


Returns:
|r1= [[Boolean]]
BOOL
*/


</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
|x1= <sqf>[BIS_tank, [missionNamespace, "BIS_someTankSave"]] call BIS_fnc_loadVehicle;</sqf>
____________________________________________________________________________________________
 
| <!-- [] call [[BIS_fnc_loadVehicle]]; --> |= Syntax
|p1= |= Parameter 1
 
| |= Return value
____________________________________________________________________________________________
 
|x1= <code></code> |=
____________________________________________________________________________________________
 
| |= See also


|seealso= [[BIS_fnc_saveVehicle]] [[BIS_fnc_initVehicle]] [[Arma 3: Vehicle Customisation]]
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: Vehicles|{{uc:loadVehicle}}]]
[[Category:Functions|{{uc:loadVehicle}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:loadVehicle}}]]

Latest revision as of 07:51, 29 April 2024

Hover & click on the images for description

Description

Description:
Load vehicle appearance saved with BIS_fnc_saveVehicle.
Execution:
call
Groups:
Vehicles

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 BIS_fnc_initVehicle Arma 3: Vehicle Customisation

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