Difference between revisions of "cmf utility fnc stripUnit"
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 strips a unit of all gear. {{CMF Feature | Warning | This function is partially...") |
|||
(One intermediate revision by the same user not shown) | |||
Line 13: | Line 13: | ||
|cmp=utility | |cmp=utility | ||
|grp1=Broken Functions | |||
|s1=[unit] call [[cmf_utility_fnc_stripUnit]] | |s1=[unit] call [[cmf_utility_fnc_stripUnit]] | ||
Line 21: | Line 23: | ||
|x1= {{code|lang=scilab|[myUnit] call cmf_utility_fnc_stripUnit;}} | |x1= {{code|lang=scilab|[myUnit] call cmf_utility_fnc_stripUnit;}} | ||
|seealso= [[cmf_utility_fnc_submitAAR]] [[cmf_utility_fnc_clearVehicleCargo]] [[cmf_utility_fnc_countDown]] [[cmf_utility_fnc_endLoadingScreen]] [[cmf_utility_fnc_freezeTime]] | |||
[[cmf_utility_fnc_nearestPlayer]] [[cmf_utility_fnc_preventProne]] [[cmf_utility_fnc_restrictZeus]] | |||
|event1= {{!}} UNITLOCAL {{!}}{{!}} cmf_utility_stripUnit_onStrip {{!}}{{!}} [ ] {{!}}{{!}} Is fired where unit is local when the unit is stripped | |event1= {{!}} UNITLOCAL {{!}}{{!}} cmf_utility_stripUnit_onStrip {{!}}{{!}} [ ] {{!}}{{!}} Is fired where unit is local when the unit is stripped | ||
}} | }} |
Latest revision as of 22:12, 17 December 2022
Description
- Description:
- This function strips a unit of all gear.
- Execution:
- Call
- Groups:
- CMF3: utility CMF3: Broken Functions
Syntax
- Syntax:
- [unit] call cmf_utility_fnc_stripUnit
- Parameters:
- unit: Object - The unit to strip of all gear
- Return Value:
- None
Examples
- Example 1:
[myUnit] call cmf_utility_fnc_stripUnit;
Additional Information
- See also:
- cmf_utility_fnc_submitAAR cmf_utility_fnc_clearVehicleCargo cmf_utility_fnc_countDown cmf_utility_fnc_endLoadingScreen cmf_utility_fnc_freezeTime cmf_utility_fnc_nearestPlayer cmf_utility_fnc_preventProne cmf_utility_fnc_restrictZeus
Internal Variables
- No internal variables
Events
Locality | Name | Variables | Description |
---|---|---|---|
UNITLOCAL | cmf_utility_stripUnit_onStrip | [ ] | Is fired where unit is local when the unit is stripped |
Notes