Instalar Steam
iniciar sesión
|
idioma
简体中文 (chino simplificado)
繁體中文 (chino tradicional)
日本語 (japonés)
한국어 (coreano)
ไทย (tailandés)
Български (búlgaro)
Čeština (checo)
Dansk (danés)
Deutsch (alemán)
English (inglés)
Español de Hispanoamérica
Ελληνικά (griego)
Français (francés)
Italiano
Bahasa Indonesia (indonesio)
Magyar (húngaro)
Nederlands (holandés)
Norsk (noruego)
Polski (polaco)
Português (Portugués de Portugal)
Português-Brasil (portugués de Brasil)
Română (rumano)
Русский (ruso)
Suomi (finés)
Svenska (sueco)
Türkçe (turco)
Tiếng Việt (vietnamita)
Українська (ucraniano)
Comunicar un error de traducción
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?