SET_CLOUDS_ALPHA
// SetCloudsAlpha
void SET_CLOUDS_ALPHA(float opacity);
Allows modification of the cloud opacity. It can also be used in other contexts, such as when the player is in a switch state IS_PLAYER_SWITCH_IN_PROGRESS
.
Old name: _SET_CLOUD_HAT_OPACITY
Examples:
-- Check if the player is in a Switch "state"
if IsPlayerSwitchInProgress() then
-- If the player is in a Switch state, set the clouds opacity to 1.0
SetCloudsAlpha(1.0)
end