Init (Kosher Arsenal)
- Description:
This function initializes kosherArsenal itself, it must be run locally (eg. from initPlayerLocal.sqf), it is blocking meaning it won't execute any code placed after the function call until the initial spawn arsenal has been exited.
- Execution:
call
- Groups:
Kosher Arsenal: Eric's Mission Framework
- Syntax:
[loadouts, light, forcePrimary, randomPos] call emf_kosherArsenal_fnc_init
- Parameters:
loadouts: Array of Strings - Array of loadout files from rsc\loadouts (with .sqf omitted)
Light: Boolean - (Optional) When true creates a light source at the arsenal to help with visibility. [Default: false]
ForcePrimary: Boolean - (Optional) When true will not allow player to exit arsenal unless a primary firearm has been equiped. [Default: true]
RandomPos: Boolean - (Optional) When true randomizes players spawn position in a 5 meter radius. [Default: true]
- Return Value:
None
- Example 1:
[["myLoadout"], false, true] call emf_kosherArsenal_fnc_init;
- Example 2:
[["myLoadout1", "myLoadout2"], true] call emf_kosherArsenal_fnc_init;
- See also: