BIS fnc loadVehicle: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code>([^<]*)<nowiki\/>\[\[([a-zA-Z0-9_]+)\]\](.*)<\/code>" to "<code>$1$2$3</code>")
m (Text replacement - "[[Arma 3: Vehicle Customization" to "[[Arma 3: Vehicle Customisation")
(6 intermediate revisions by 2 users not shown)
Line 10: Line 10:
|s1= [object,target] call [[BIS_fnc_loadVehicle]]
|s1= [object,target] call [[BIS_fnc_loadVehicle]]


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


|p2= target: [[Array]] - in format:
|p2= target: [[Array]] - in format:
Line 18: Line 18:
|r1= [[Boolean]]
|r1= [[Boolean]]


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


|seealso= [[BIS_fnc_saveVehicle]]
|seealso= [[BIS_fnc_saveVehicle]] [[BIS_fnc_initVehicle]] [[Arma 3: Vehicle Customisation]]
}}
}}

Revision as of 23:57, 8 April 2024

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 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