Difference between revisions of "cmf kosherArsenal fnc ammobox"

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 |descr=This function will initialize the provided object as a kosherArsenal ammobox. This will allow...")
 
 
(2 intermediate revisions by the same user not shown)
Line 6: Line 6:
|game2=cmf3
|game2=cmf3
|version2=2.1.0
|version2=2.1.0
|game3=ace3
|version3=3.12.0


|descr=This function will initialize the provided object as a kosherArsenal ammobox. This will allow any unit initialized with kosher arsenal to rearm from this crate but not change their overall loadout.
|descr=This function will initialize the provided object as a kosherArsenal ammobox. This will allow any unit initialized with kosher arsenal to rearm from this crate but not change their overall loadout.
Line 21: Line 24:
|x1= {{code|lang=scilab|[_myBox] call cmf_kosherArsenal_fnc_ammobox;}}
|x1= {{code|lang=scilab|[_myBox] call cmf_kosherArsenal_fnc_ammobox;}}


|var1= {{!}} GLOBAL {{!}}{{!}} Unit {{!}}{{!}} cmf_kosherArsenal_ammobox_initialized{{!}}{{!}} A variable to check if object is initialized as an ammobox
|seealso= [[cmf_kosherArsenal_fnc_forceArsenal]] [[cmf_kosherArsenal_fnc_forceClose]]
[[cmf_kosherArsenal_fnc_init]] [[cmf_kosherArsenal_fnc_kosherAI]]
 
|var1= {{!}} GLOBAL {{!}}{{!}} Unit {{!}}{{!}} cmf_kosherArsenal_ammobox_initialized {{!}}{{!}} A variable to check if object is initialized as an ammobox


|event1= {{!}} LOCAL {{!}}{{!}} cmf_kosherArsenal_onAmmoboxOpen {{!}}{{!}} [ ] {{!}}{{!}} Is raised locally when an ammobox is opened
|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
|event2= {{!}} LOCAL {{!}}{{!}} cmf_kosherArsenal_onAmmoboxClose{{!}}{{!}} [ ] {{!}}{{!}} Is raised locally when an ammobox is closed
}}
}}

Latest revision as of 21:47, 17 December 2022


Hover & click on the images for description
Description
Description:
This function will initialize the provided object as a kosherArsenal ammobox. This will allow any unit initialized with kosher arsenal to rearm from this crate but not change their overall loadout.
Execution:
Call
Groups:
CMF3: kosherArsenal
Syntax
Syntax:
[object] call cmf_kosherArsenal_fnc_ammobox
Parameters:
object: Object - The object to set as an ammobox
Return Value:
None
Examples
Example 1:
[_myBox] call cmf_kosherArsenal_fnc_ammobox;
Additional Information
See also:
cmf_kosherArsenal_fnc_forceArsenal cmf_kosherArsenal_fnc_forceClose cmf_kosherArsenal_fnc_init cmf_kosherArsenal_fnc_kosherAI
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