Quantcast
Channel: Programming (In-game)
Viewing all articles
Browse latest Browse all 903

How to acces "forward direction" field from the RemoteControl

$
0
0
Hi folks,
Noob programmer here.
Tryed my best and searched a lot, but couldn't figure out, how to manipulate the "forward direction" dropdown from the RemoteControl block.
here 2 "solutions" that didnt work out:

void Main(string argument)
{
IMyRemoteControl test = GridTerminalSystem.GetBlockWithName("test") as IMyRemoteControl;
test.GetActionWithName("Up").Apply(test);
test.ApplyAction("Up");
}

no errors thrown, the autpilot simply ignores this action and doesnt change the dropdown...

How to acces "forward direction" field from the RemoteControl

Viewing all articles
Browse latest Browse all 903

Trending Articles