cmf_kosherArsenal_fnc_ammobox

From cluster wiki
Revision as of 21:47, 17 December 2022 by Eric (talk | contribs)
(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 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