SetMoonRadius

From Onset Developer Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
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 and 10.0, default: 1.0

Return Value

  • Returns true.

Example

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

See also