Space Engineers

Space Engineers

Not enough ratings
Solar Panel Movement
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
3.203 KB
Jan 14, 2015 @ 11:38pm
1 Change Note ( view )

Subscribe to download
Solar Panel Movement

Description
I started this script based on Sigurd's "Stop Rotor on High Solar Power Output" script to do the same thing. I tried to improve upon it by adding a couple of utility functions/methods that could be repurposed for other scripts, such as fetch information out of the block's DetailInfo property (this is the data you see in the bottom left of the Terminal window when you select an item). My goal is to add in the ability to manage batteries and to turn on and off reactors as needed.

I also tried to add A LOT of comments to help others that are either new to scripting or are like me and trying to figure out how to tinker with the game. Constructive feedback is welcome, and improvements are appreciated. And a big thanks to everyone else that has posted; I have learned a lot from everyone! :D
7 Comments
foobaron Apr 3, 2018 @ 3:06pm 
The Thing evolves :P
foobaron Apr 3, 2018 @ 3:04pm 
Tech-Mech Nov 29, 2017 @ 9:19pm 
i chek the code and it gave me this what should i do
'IMyTerminalBlock.SetCustomName(string)'is obsolete use setteof Customname
MoronMan  [author] Jan 10, 2017 @ 8:54pm 
Possibly- It has been a while since I wrote this and the API has been updated a lot. Let me see if anything has changed.
Verlepte Henk Jan 5, 2017 @ 12:35pm 
Do I need to name anything differently?
Bravo Feb 11, 2016 @ 9:08pm 
this scrip is good
Sigurd Hansen Jan 16, 2015 @ 11:27am 
Cool