SetSkyRotationSpeed

From Onset Developer Wiki
SetSkyRotationSpeed

Type: Function
Context: Client
Introduced: v1.0

Description

Set the sky rotation speed for client. More noticeable during the night.

Syntax

SetSkyRotationSpeed(speed)

Parameters

  • speed
    The speed value in float between 0.0 to 4.0. Values out of range might have a weird or no behavior.

Return Value

  • __EDIT_ME__

Example

AddEvent("OnPlayerSpawn", function()
	SetSkyRotationSpeed(0.7) -- Set the sky rotation value to the subtle so it feels realistic
end)

See also