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
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