Skip to main content

SetLightSourceProperties

Sets the properties of a LightSourceToy.

Syntaxโ€‹

SetLightSourceProperties *light_reference intensity? range? color? shadow_type? shadow_strength? light_type?

Argumentsโ€‹

NameRequiredTypeDescription
light referenceYesa reference to LightSourceToy object.
intensityNoAny numberDefault: not changing
rangeNoAny numberDefault: not changing
colorNoColor in format RRGGBB or RRGGBBAA.Default: not changing
shadow typeNoLightShadows enum value - found using 'serhelp LightShadows' commandDefault: not changing
shadow strengthNoAny numberDefault: not changing
light typeNoLightType enum value - found using 'serhelp LightType' commandDefault: not changing

On a running serverโ€‹

Use serhelp SetLightSourceProperties to inspect the reference generated by your installed SER version.