Steam installeren
inloggen
|
taal
简体中文 (Chinees, vereenvoudigd)
繁體中文 (Chinees, traditioneel)
日本語 (Japans)
한국어 (Koreaans)
ไทย (Thai)
Български (Bulgaars)
Čeština (Tsjechisch)
Dansk (Deens)
Deutsch (Duits)
English (Engels)
Español-España (Spaans - Spanje)
Español - Latinoamérica (Spaans - Latijns-Amerika)
Ελληνικά (Grieks)
Français (Frans)
Italiano (Italiaans)
Bahasa Indonesia (Indonesisch)
Magyar (Hongaars)
Norsk (Noors)
Polski (Pools)
Português (Portugees - Portugal)
Português - Brasil (Braziliaans-Portugees)
Română (Roemeens)
Русский (Russisch)
Suomi (Fins)
Svenska (Zweeds)
Türkçe (Turks)
Tiếng Việt (Vietnamees)
Українська (Oekraïens)
Een vertaalprobleem melden
IMyMotorAdvancedStator rotor;
public Program()
{
rotor = GridTerminalSystem.GetBlockWithName("Rotor name") as IMyMotorAdvancedStator;
}
public void Main(string args)
{
if(args == "clockwise")
rotor.Velocity = MathHelper.TwoPi;
else if(args == "counterclockwise")
rotor.Velocity = -MathHelper.TwoPi;
}
I think it works now even without the script (by using the on & off command instead of the reverse command). SO the ramps shouldnt get stuck in the risen position. The ball will stay at the gates sometimes but I think thats okay because it is not very hard to get it out. But we'll see.
Feel free to post any other issues you might encounter