From Bohemia Interactive Community
Hover & click on the images for description
Description
- Description:
- Randomise headgear and facewear of a character.
⚠
If the randomization is disabled, only strings parameters will be processed, array will be ignored and considered as false.
- Execution:
- call
- Groups:
- Inventory
Syntax
- Syntax:
- [unit, headgear, facewear] call BIS_fnc_unitHeadgear
- Parameters:
- unit: Object
- headgear: Boolean, String or Array - (Optional, default false) can be one of:
- facewear: Boolean, String or Array - (Optional, default false) can be one of:
- Return Value:
- Boolean - true when done
Examples
- Example 1:
[this] call BIS_fnc_unitHeadgear;
- Example 2:
[this, [], []] call BIS_fnc_unitHeadgear;
- Example 3:
[this, nil, []] call BIS_fnc_unitHeadgear;
- Example 4:
[this, "myTemplate"] call BIS_fnc_unitHeadgear;
Additional Information
- See also:
- Description.ext/CfgUnitTemplatesaddGogglesaddHeadgear
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here!
Add Note