Difference between revisions of "Spotlight"

From Space Engineers Wiki
Jump to: navigation, search
Line 51: Line 51:
 
  ...
 
  ...
 
Properties: 1
 
Properties: 1
  var i = block.Enabled;
+
  var isOn = block.Enabled; // spotlight on/off state

Revision as of 10:31, 26 November 2015


Spotlight Icon.png
Large Ship Icon.png
Large Ship / Station
Spotlight
 
Components
Required

 

 
 
 
Mass (kg):
0
 
Integrity:
0
 
Build time (seconds):
20
 
Active power consumption (MW):
0.001
Spotlight Icon.png
Small Ship Icon.png
Small Ship
Spotlight
 
Components
Required

 

 
 
 
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