Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
https://steamcommunity.com/sharedfiles/filedetails/?id=2019210363&searchtext=MoveIT
List<IMyTerminalBlock> GetGroupBlocks(string name)
{
var group = GetGroup(name);
List<IMyTerminalBlock> blocks = new List<IMyTerminalBlock>();
if (group != null)
{
group.GetBlocks(blocks);
}
return blocks;
}
Program(523,26):Error: 'iMyBlock' does not contain a definition for 'Blocks' and no accessible extension method 'Blocks' accepting a first argument of type 'iMyBlock' could be found (are you missing a using directive or an assembly reference?)
The error is double when checking code.
MyBlockGroup does not contain a definition for Blocks... etc
You will need to replace:
List<IMyTerminalBlock> GetGroupBlocks(string name)
{
var group = GetGroup(name);
return group!=null?group.Blocks:new List<IMyTerminalBlock>();
}
with
List<IMyTerminalBlock> GetGroupBlocks(string name)
{
var group = GetGroup(name);
List<IMyTerminalBlock> groupBlocks = new List<IMyTerminalBlock>();
if(group!=null) {
group.GetBlocks(groupBlocks);
}
return groupBlocks;
}
http://forum.keenswh.com/threads/1-091-program-block-issue-after-patch.7364676/
But it's all gibberish to me.
I'm sure that over the long term there will be another solution to these problems. Its unfortunate to say the least. Does anyone know of any other scripts that allow us to directly set parameters on lights?