BIS fnc loadVehicle: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\|( *\[\[[a-zA-Z]+\]\]) * \|x1=" to "\|r1=$1 \|x1=") |
m (fixed parameter descriptions) |
||
(13 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{RV|type=function | {{RV|type=function | ||
| arma3 | |game1= arma3 | ||
|version1= 1.00 | |||
|1.00 | |||
|gr1= Vehicles | |gr1= Vehicles | ||
| Load vehicle | |descr= Load vehicle appearance saved with [[BIS_fnc_saveVehicle]]. | ||
| [object,target] call [[BIS_fnc_loadVehicle]] | |s1= [object,target] call [[BIS_fnc_loadVehicle]] | ||
|p1= object: [[Object]] - | |p1= object: [[Object]] - vehicle | ||
|p2= target: [[Array]] - in format: | |p2= target: [[Array]] - in format: | ||
*0: [[Namespace]], [[Group]] or [[Object]] - | *0: [[Namespace]], [[Group]] or [[Object]] - location of the previously saved appearance | ||
*1: [[String]] - | *1: [[String]] - name of the saved appearance | ||
|r1= [[Boolean]] | |||
|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]] | ||
}} | }} |
Latest revision as of 07:51, 29 April 2024
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:
Additional Information
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