Skip to main content
Skip to main content

createLightSource

createLightSource

Description

Create a new light source

Definition

createLightSource(string name, integer lightType, float r, float g, float b, float range)

Arguments

stringname
integerlightTypeone of enum LightType
floatr
floatg
floatb
floatrange

Return Values

entityIdlightEntity