BIS_fnc_encodeFlags

From Bohemia Interactive Community
Revision as of 20:58, 20 May 2017 by Dedmen (talk | contribs) (1 revision imported: BIS Functions update 2/7)
Jump to navigation Jump to search


Hover & click on the images for description

Description

Description:
/*

	Encodes array of unique binary flags with indexes between 0-15 into a single scalar.

	Syntax:
	-------
	_encodedFlags:scalar = _flags:array call bis_fnc_encodeFlags;

	Example:
	--------
	13 = [0,2,3] call bis_fnc_encodeFlags;

*/

#define ERROR	{_encoded = 0;["[x] Input parameter must be an array of non-decimal numbers between 0 and 15!"] call bis_fnc_error;}

(Placeholder description extracted from the function header by BIS_fnc_exportFunctionsToWiki)
Execution:
call
Groups:
Uncategorised

Syntax

Syntax:
Syntax needed
Return Value:
Return value needed

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

Notes

Bottom Section