BIS_fnc_decodeFlags

From Bohemia Interactive Community
Jump to navigation Jump to search
Introduced with Arma 3 version 1.00
  

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
1.00

Description

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

Syntax

Syntax:
scalar call BIS_fnc_decodeFlags
Parameters:
scalar: Scalar - Scalar (max. 65535, 2^16-1)
Return Value:
Array - Flags (See parameter of BIS_fnc_encodeFlags)

Examples

Example 1:
_decodedFlags = 13 call BIS_fnc_decodeFlags;//Returns [0,2,3]

Additional Information

Execution:
call
Multiplayer:
-
See also:
BIS_fnc_encodeFlags

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section