Light
Light | ||
---|---|---|
[[Image:{{{4}}}|center|middle|200x200px]] | ||
{{{5}}} | ||
Build required | 1 | |
Version required | 0.3.20 |
The light command creates a light source attached to the object
Usage
light [color=] [radius=] [brightness=] [fx=] [time=] [maxdist=]
Arguments
- Color
- The light color
Values: Color Names, Hexadecimal colors
Default: White - Radius
- The radius of the light in meters
Values: Decimal numbers greater than 0.0
Default: 10.0 - Brightness
- Light brightness, internally the color values are multiplied by this value
Values: Decimal numbers greater than 0.0
Default: 0.5 - Fx
- Light animation effect
Values: blink, fadein, fadeout, fire, pulse, rainbow
Default: Not set - Time
- Interval/length of the light animation effect in seconds
Values: Decimal numbers greater than 0.0
Default: 1.0 - Maxdist
- Maximum distance in meters at which the light will be visible
Values: Decimal numbers greater than 0.0
Default: 1000.0
Example
create light brightness=1 color=gold
|
|
Triggers: |
|
Commands: |
Animate • Animation • Ambient • Camera • Color • Diffuse • Frame • Framerate • Group • Light • Move • Name • Noise • Normalmap • Opacity • Path • Picture • Rotate • Say • Shear • Scale • Sign • Solid • Sound • Specular • Specularmap • Teleport • Teleportx • Teleportxyz • Texture • Url • Visible • Web |