Difference between revisions of "Spotlight"
From Space Engineers Wiki
Line 51: | Line 51: | ||
... | ... | ||
Properties: 1 | Properties: 1 | ||
− | var | + | var isOn = block.Enabled; // spotlight on/off state |
Revision as of 10:31, 26 November 2015
Mass (kg):
0
Integrity:
0
Build time (seconds):
20
Active power consumption (MW):
0.001
Mass (kg):
0
Integrity:
0
Build time (seconds):
7
Active power consumption (MW):
0.0002
Spotlight, illuminates objects in front of it when on. Unlike the Interior Light, objects it illuminates will cast a shadow. Can be turned on or off either via the control panel or by hitting L (default) when piloting/controlling a ship/station. The color, range, falloff and intensity of the light can be customized via the Control Panel.
Was previously named reflector light.
Programming
(IMyReflectorLight)
Actions:
block.RequestEnable(true/false); // true or false ...
Properties: 1
var isOn = block.Enabled; // spotlight on/off state