BIS_fnc_encodeFlags2
Jump to navigation
Jump to search
Description
- Description:
/* Encodes array of unique binary flags (zeroes or ones) into a single scalar. Syntax: ------- _encodedFlags:scalar = _flags:array call bis_fnc_encodeFlags2; Example: -------- 13 = [1,0,1,1] call bis_fnc_encodeFlags2; //0.136 */
Template:placeholder- Execution:
- call
- Groups:
- Uncategorised
Syntax
- Syntax:
- [] call BIS_fnc_encodeFlags2
- Parameters:
- parameter: Datatype - (Optional, default defValue) description
- Return Value:
- Datatype - description
Examples
- Example 1:
Additional Information
- See also:
- See also needed
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