BIS fnc loadVehicle: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> " to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...)
Line 1: Line 1:
{{Function|Comments=
{{Function


| arma3 |Game name=
| arma3


|1.00|Game version=
|1.00


|gr1 = Vehicles |GROUP1=
|gr1 = Vehicles


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


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




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


|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]] - Where the save will be saved
*1: [[String]] - Name of the save |Parameter 2=
*1: [[String]] - Name of the save




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


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


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



Revision as of 00:12, 18 January 2021

Hover & click on the images for description

Description

Description:
Load vehicle look 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

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


Bottom Section