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 edit summary |
||
Line 18: | Line 18: | ||
{{RelatedFunctions}} | {{RelatedFunctions}} | ||
*[[GetCloudSpeed]] |
Latest revision as of 11:29, 1 September 2020
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)