Installer Steam
log på
|
sprog
简体中文 (forenklet kinesisk)
繁體中文 (traditionelt kinesisk)
日本語 (japansk)
한국어 (koreansk)
ไทย (thai)
Български (bulgarsk)
Čeština (tjekkisk)
Deutsch (tysk)
English (engelsk)
Español – España (spansk – Spanien)
Español – Latinoamérica (spansk – Latinamerika)
Ελληνικά (græsk)
Français (fransk)
Italiano (italiensk)
Bahasa indonesia (indonesisk)
Magyar (ungarsk)
Nederlands (hollandsk)
Norsk
Polski (polsk)
Português (portugisisk – Portugal)
Português – Brasil (portugisisk – Brasilien)
Română (rumænsk)
Русский (russisk)
Suomi (finsk)
Svenska (svensk)
Türkçe (tyrkisk)
Tiếng Việt (Vietnamesisk)
Українська (ukrainsk)
Rapporter et oversættelsesproblem
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?