SetMoonRadius: Difference between revisions

From Onset Developer Wiki
No edit summary
No edit summary
Line 18: Line 18:


{{RelatedFunctions}}
{{RelatedFunctions}}
* [[SetMoonShine]]
* [[GetMoonRadius]]
* [[SetMoonLightIntensity]]
* [[SetMoonRadius]]

Revision as of 11:47, 24 July 2020

SetMoonRadius

Type: Function
Context: Client
Introduced: v1.0

Description

Set the moon radius in float value.

Syntax

SetMoonRadius(radius)

Parameters

  • radius
    The radius between 0.0 (0%) to 1.0 (100%).

Return Value

  • __EDIT_ME__

Example

AddEvent("OnPlayerSpawn", function()
	SetMoonRadius(0.5) -- Set the moon size to half when the player spawns
end)

See also