Unturned-Docs

NOTICE: You are not reading the most up-to-date documentation. This file is old, and may not reflect the current modding or server capabilities. The latest documentation can be found at Unturned Documentation.

This file may be removed in the future. Refer to its more up-to-date equivalent instead.

Bitmask

Recommended Wikipedia Article

Weather Example

Rain’s default mask is 1 (0b01), and snow’s default mask is 2 (0b10). An ambience volume could enable both with 3 (0b11) or neither with 0 (0b00).