cmf_kosherArsenal_fnc_forceArsenal
Jump to navigation
Jump to search
Description
- Description:
- This function will force open a kosherArsenal arsenal on the provided unit.
- Execution:
- Call
- Groups:
- CMF3: kosherArsenal
Syntax
- Syntax:
- [unit, forcePrimary] call cmf_kosherArsenal_fnc_forceArsenal
- Parameters:
- unit: Object - The unit to force open the arsenal on
- forcePrimary : Boolean - If true will force the unit to get a primary weapon
- Return Value:
- None
Examples
- Example 1:
[myUnit, true] call cmf_kosherArsenal_fnc_forceArsenal;
Additional Information
- See also:
- See also needed
Internal Variables
Locality | Namespace | Name | Description |
---|---|---|---|
GLOBAL | Unit | cmf_kosherArsenal_ammobox_initialized | A variable to check if object is initialized as an ammobox |
Events
Locality | Name | Variables | Description |
---|---|---|---|
LOCAL | cmf_kosherArsenal_onAmmoboxOpen | [ ] | Is raised locally when an ammobox is opened |
LOCAL | cmf_kosherArsenal_onAmmoboxClose | [ ] | Is raised locally when an ammobox is closed |
Notes