Difference between revisions of "Spotlight"

From Space Engineers Wiki
Jump to: navigation, search
Line 46: Line 46:
  
 
== Programming ==
 
== Programming ==
 +
<br>
 
(IMyReflectorLight)<br>
 
(IMyReflectorLight)<br>
 
Actions:<br>
 
Actions:<br>
 
  block.RequestEnable(true/false); // true or false
 
  block.RequestEnable(true/false); // true or false
 
  ...
 
  ...
Properties: 1
+
Properties:
 
  var isOn = block.Enabled; // spotlight on/off state
 
  var isOn = block.Enabled; // spotlight on/off state
 +
...

Revision as of 10:32, 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:

var isOn = block.Enabled; // spotlight on/off state
...