Difference between revisions of "cmf kosherArsenal fnc forceArsenal"

From cluster wiki
Jump to navigation Jump to search
(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...")
 
Line 26: Line 26:
|x1= {{code|lang=scilab|[myUnit, true] call cmf_kosherArsenal_fnc_forceArsenal;}}
|x1= {{code|lang=scilab|[myUnit, true] call cmf_kosherArsenal_fnc_forceArsenal;}}


|var1= {{!}} GLOBAL {{!}}{{!}} Unit {{!}}{{!}} cmf_kosherArsenal_ammobox_initialized{{!}}{{!}} A variable to check if object is initialized as an ammobox
|var1= {{!}} GLOBAL {{!}}{{!}} Unit {{!}}{{!}} cmf_kosherArsenal_loadout {{!}}{{!}} A variable containing the loadoutfile to use
 
|event1= {{!}} LOCAL {{!}}{{!}} cmf_kosherArsenal_onAmmoboxOpen {{!}}{{!}} [ ] {{!}}{{!}} Is raised locally when an ammobox is opened
|event2= {{!}} LOCAL {{!}}{{!}} cmf_kosherArsenal_onAmmoboxClose{{!}}{{!}} [ ] {{!}}{{!}} Is raised locally when an ammobox is closed
}}
}}

Revision as of 15:27, 17 December 2022


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_loadout A variable containing the loadoutfile to use
Events
No events
Notes