BIS_fnc_encodeFlags2

From Bohemia Interactive Community
Revision as of 16:27, 2 April 2019 by Erentar (talk | contribs) (infobox to template)
Jump to navigation Jump to search
Hover & click on the images for description

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