Difference between revisions of "cmf kosherArsenal fnc forceArsenal"
Jump to navigation
Jump to search
Line 25: | Line 25: | ||
|x1= {{code|lang=scilab|[myUnit, true] call cmf_kosherArsenal_fnc_forceArsenal;}} | |x1= {{code|lang=scilab|[myUnit, true] call cmf_kosherArsenal_fnc_forceArsenal;}} | ||
|seealso= [[cmf_kosherArsenal_fnc_ammobox]] [[cmf_kosherArsenal_fnc_forceClose]] | |||
[[cmf_kosherArsenal_fnc_init]] [[cmf_kosherArsenal_fnc_kosherAI]] | |||
|var1= {{!}} GLOBAL {{!}}{{!}} Unit {{!}}{{!}} cmf_kosherArsenal_loadout {{!}}{{!}} A variable containing the loadoutfile to use | |var1= {{!}} GLOBAL {{!}}{{!}} Unit {{!}}{{!}} cmf_kosherArsenal_loadout {{!}}{{!}} A variable containing the loadoutfile to use | ||
}} | }} |
Latest revision as of 21:48, 17 December 2022
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:
- cmf_kosherArsenal_fnc_ammobox cmf_kosherArsenal_fnc_forceClose cmf_kosherArsenal_fnc_init cmf_kosherArsenal_fnc_kosherAI
Internal Variables
Locality | Namespace | Name | Description |
---|---|---|---|
GLOBAL | Unit | cmf_kosherArsenal_loadout | A variable containing the loadoutfile to use |
Events
- No events
Notes