Init
cmf_kosherArsenal_fnc_Init
Description
| Description: | This function will initialize kosherArsenal for the local player. |
| Execution: | Call |
| Groups: | Kosher Arsenal |
Syntax
| Syntax: | [loadouts, forcePrimary] call cmf_kosherArsenal_fnc_init |
| Parameters: |
loadouts: Array - An array containing the filenames for loadouts to load (ommit .sqf from the filename). forcePrimary: Boolean - (Optional, default true) When true will force the unit to select a primary weapon before exiting the arsenal.
|
| Return Value: | None |
Examples
| Example 1: |
[["exampleLoadout"], true, false, true] call cmf_kosherArsenal_fnc_init;
|
| Example 2: |
// Defines loadout files for team 0 and 1.
[["exampleLoadout0", "exampleLoadout1"], false] call cmf_kosherArsenal_fnc_init;
|
Additional Information
Notes