Difference between revisions of "cmf kosherArsenal fnc ammobox"
Jump to navigation
Jump to search
Line 24: | 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 | |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 | ||
}} | }} |
Revision as of 15:28, 17 December 2022
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:
- 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