SetCloudSpeed: Difference between revisions

From Onset Developer Wiki
Created page with "{{Info|Function|Client|1.2.1}} {{FuncDescription|Set the cloud movement speed or the client.}} {{FuncSyntax|SetCloudSpeed(speed)}} {{FuncParameters}} {{FuncParam|speed|The..."
(No difference)

Revision as of 09:40, 1 September 2020

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

__EDIT_ME__