Difference between revisions of "cmf utility fnc stripUnit"

From cluster wiki
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...")
 
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]]

Revision as of 20:52, 17 December 2022


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 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:
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