BIS fnc garage: Difference between revisions
| No edit summary |  (Add example) | ||
| Line 37: | Line 37: | ||
| ____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| |x1= <code>["Open",true] [[ | |x1= <code>["Open",true] [[call]] BIS_fnc_garage;</code>|= | ||
| |x2= <code> | |||
| 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;  | |||
| }]; | |||
| </code>|= | |||
| ____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 06:00, 31 May 2015
Description
- Description:
- /* Author: Karel Moricky Description: Splendid Virtual Arsenal Garage Parameter(s): 0: STRING - mode 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) Returns: NOTHING */
- Execution:
- call
- Groups:
- Uncategorised
Syntax
- Syntax:
- [mode,params] call BIS_fnc_garage
- 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
 
	