BIS fnc loadVehicle: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (pf)
m (fixed parameter descriptions)
 
(28 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Function|Comments=
{{RV|type=function
____________________________________________________________________________________________


| arma3 |Game name=
|game1= arma3
|version1= 1.00


|1.00|Game version=
|gr1= Vehicles
____________________________________________________________________________________________


| Load vehicle look saved with [[BIS_fnc_saveVehicle]]. |Description=
|descr= Load vehicle appearance saved with [[BIS_fnc_saveVehicle]].
____________________________________________________________________________________________


| [object,target] call [[BIS_fnc_loadVehicle]] |Syntax=
|s1= [object,target] call [[BIS_fnc_loadVehicle]]


 
|p1= object: [[Object]] - vehicle
|p1= object: [[Object]] - Vehicle |Parameter 1=


|p2= target: [[Array]] - in format:
|p2= target: [[Array]] - in format:
*0: [[Namespace]], [[Group]] or [[Object]] - Where the save will be saved
*0: [[Namespace]], [[Group]] or [[Object]] - location of the previously saved appearance
*1: [[String]] - Name of the save |Parameter 2=
*1: [[String]] - name of the saved appearance


|r1= [[Boolean]]


| [[Boolean]] |Return value=
|x1= <sqf>[BIS_tank, [missionNamespace, "BIS_someTankSave"]] call BIS_fnc_loadVehicle;</sqf>
____________________________________________________________________________________________


|x1= <code>[BIS_tank, [ [[missionNamespace]], "BIS_someTankSave"] ] [[call]] [[BIS_fnc_loadVehicle]];</code> |Example 1=
|seealso= [[BIS_fnc_saveVehicle]] [[BIS_fnc_initVehicle]] [[Arma 3: Vehicle Customisation]]
____________________________________________________________________________________________
 
[[BIS_fnc_saveVehicle]] |See also=
}}
}}
<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