cmf_kosherArsenal_fnc_forceArsenal

From cluster wiki
Revision as of 15:26, 17 December 2022 by Eric (talk | contribs) (Created page with "{{CMF Function |game1=arma3 |version1=0.50 |game2=cmf3 |version2=2.1.0 |game3=ace3 |version3=3.12.0 |descr=This function will force open a kosherArsenal arsenal on the pro...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Hover & click on the images for description
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