Wired Light
From GMod Wiki
![]() | ![]() |
![]() | This works almost like the Indicator except that instead of sending an on/off value you send the RGB code for it to display. |
![]() | Spawns a Wired Light. |
![]() | |
![]() | No action |
![]() |
Brief
A model that determines its color from its R, G, and B inputs.
Instructions
Placed with Primary fire.
Inputs
- R: The Red value.
- G: The Green value.
- B: The Blue value.
- RGB: An alternative color input with color as a vector: (Red, Green, Blue)
Variables
- Directional component
- Radiant component
Useful hints
- All values go from 0-255.
- Send the values R: 255 G: 255 B: 255 to make it white
- Send the values R: 255 G: 0 B: 255 to make it magenta
- If you enable Directional component there will emerge a flashlight-like beam from the top of the light. Laggy, not recommended.
- If you enable Radiant component there will emerge a radiant light from it.
Example
N/A