SetCloudSpeed

From Onset Developer Wiki
SetCloudSpeed

Type: Function
Context: Client
Introduced: v1.2.1

Description

Set the cloud movement speed or the client.

Syntax

SetCloudSpeed(speed)

Parameters

  • speed
    The cloud movement speed between 0.0 and 1000.0. Default: 0.1

Return Value

  • Returns true.

Example

AddEvent("OnPlayerSpawn", function()
	SetCloudSpeed(0.5) -- Sky clouds will move faster
end)

See also