Nainstalovat Steam
přihlásit se
|
jazyk
简体中文 (Zjednodušená čínština)
繁體中文 (Tradiční čínština)
日本語 (Japonština)
한국어 (Korejština)
ไทย (Thajština)
български (Bulharština)
Dansk (Dánština)
Deutsch (Němčina)
English (Angličtina)
Español-España (Evropská španělština)
Español-Latinoamérica (Latin. španělština)
Ελληνικά (Řečtina)
Français (Francouzština)
Italiano (Italština)
Bahasa Indonesia (Indonéština)
Magyar (Maďarština)
Nederlands (Nizozemština)
Norsk (Norština)
Polski (Polština)
Português (Evropská portugalština)
Português-Brasil (Brazilská portugalština)
Română (Rumunština)
Русский (Ruština)
Suomi (Finština)
Svenska (Švédština)
Türkçe (Turečtina)
Tiếng Việt (Vietnamština)
Українська (Ukrajinština)
Nahlásit problém s překladem
https://steamhost.cn/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?