I've been struggling with this for some time now and just can't seem to get it right. I want to change the forward direction of a remote control via a script. According to me, my code should work and I don't get any errors but the forward direction doesn't change.
IMyRemoteControl r = GridTerminalSystem.GetBlockWithName("Remote Control") as IMyRemoteControl;
r.GetActionWithName("Backward").Apply(r);
I know the syntax is correct because i can change other blocks and actions with success....
Please help with programing IMyRemoteControl 'Forward Direction'
IMyRemoteControl r = GridTerminalSystem.GetBlockWithName("Remote Control") as IMyRemoteControl;
r.GetActionWithName("Backward").Apply(r);
I know the syntax is correct because i can change other blocks and actions with success....
Please help with programing IMyRemoteControl 'Forward Direction'