Merlin of Mines - Space Engineers

A set of useful scripts for aspiring Space Engineers!

View on GitHub

HeatVent Block Handler

This Block Handler can be used to control HeatVents

Default Primitive Properties:

Default Directional Properties

“Enabled” Property

Enables or Disables the given block

#Enable Block
enable "My HeatVent"
set "My HeatVent" to enabled
turn on "My HeatVent"

#Disable Block
disable "My HeatVent"
set "My HeatVent" to disabled
turn off "My HeatVent"

“Power” Property

Turns on or off power to the block. Effectively the same as the Enabled property.

#Turn on
turn on power to "My HeatVent"
power on "My HeatVent"

#Turn off
turn off "My HeatVent"
power off "My HeatVent"

“Color” Property

Gets/Sets the HeatVent’s max/min colors. If a direction is passed, sets the max or min color depending on if you specify Up or Down.

If no direction is passed, the max color is Get/Set.

#Get the colors
print "My HeatVent" upper color
print "My HeatVent" lower color

#Set the colors
set "My HeatVent" color to red
set "My HeatVent" upper color to white
set "My HeatVent lower color to red

“Radius” Property

Gets/Sets the HeatVent’s light radius, in meters.

#Get the radius
print "My HeatVent" radius

#Set the radius
set "My HeatVent" radius to 5

“Range” Property

Same as Radius. Gets/Sets the HeatVent’s light radius, in meters.

#Get the range
print "My HeatVent" range

#Set the range
set "My HeatVent" range to 5

“Intensity” Property

Gets/Sets the HeatVent’s light intensity.

#Get the intensity
print "My HeatVent" intensity

#Set the intensity
set "My HeatVent" intensity to 5

“Falloff” Property

Gets/Sets the HeatVent’s light falloff.

#Get the falloff
print "My HeatVent" falloff

#Set the falloff
set "My HeatVent" falloff to 5

“Offset” Property

Gets/Sets the HeatVent’s offset. Values are expected to be between 0 - 1.

#Get the offset
print "My HeatVent" offset

#Set the offset
set "My HeatVent" offset to 0.5

“Ratio” Property

Gets/Sets the HeatVent’s Power Dependency ratio, as a value between 0 - 100 representing the power dependency %.

#Get the Power Dependency
print "My HeatVent" ratio

#Set the Power Dependency to 50%
set "My HeatVent" ratio to 50