BIS fnc garage: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(links)
(params, description)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


|<code> /*
| Splendid Virtual Arsenal Garage<br><br>
Author: Karel Moricky


Description:
'''Modes''':
Splendid Virtual Arsenal Garage
*"Open" - Open the Arsenal
**0 (Optional): BOOL - true to open full Arsenal, with all categories and items available (default: false)|= Description


Parameter(s):
____________________________________________________________________________________________


0: STRING - mode
| [mode,params] [[call]] [[BIS_fnc_garage]] |= Syntax
1: ANY - params (see below)
 
Modes:
"Open" - Open the Arsenal
0 (Optional): BOOL - true to open full Arsenal, with all categories and items available (default: false)


|p1= [mode,params]: [[Array]] |= Parameter 1


Returns:
|p2= mode: [[String]] |= Parameter 2
NOTHING
*/
</code> |= Description
 
____________________________________________________________________________________________
 
| [mode,params] [[call]] [[BIS_fnc_garage]] |= Syntax


|p1= |= Parameter 1
|p3= params: [[Any]] |= Parameter 3


| [[Nothing]] |= Return value
| [[Nothing]] |= Return value

Revision as of 08:16, 31 May 2015

Hover & click on the images for description

Description

Description:
Splendid Virtual Arsenal Garage

Modes:
  • "Open" - Open the Arsenal
    • 0 (Optional): BOOL - true to open full Arsenal, with all categories and items available (default: false)
Execution:
call
Groups:
Uncategorised

Syntax

Syntax:
[mode,params] call BIS_fnc_garage
Parameters:
[mode,params]: Array
mode: String
params: Any
Return Value:
Nothing

Examples

Example 1:
["Open",true] call BIS_fnc_garage;
Example 2:
this addAction ["<t color='#1C56D3'>Garage</t>",{ _pos = [ player, 30, getDir player ] call BIS_fnc_relPos; BIS_fnc_garage_center = createVehicle [ "Land_HelipadEmpty_F", _pos, [], 0, "CAN_COLLIDE" ]; ["Open",true] call BIS_fnc_garage; }];

Additional Information

See also:
Arsenal

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