cmf_utility_fnc_stripUnit

From cluster wiki
Revision as of 20:03, 17 December 2022 by Eric (talk | contribs) (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...")
(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 strips a unit of all gear.
This function is partially broken in a dedicated multiplayer environment. It will remove everything but the backpack and primaryWeapon
Execution:
Call
Groups:
CMF3: utility
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:
See also needed
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