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

What's wrong whith my scripts with detailed info?

$
0
0
Firstly I was thinking that detailed info didn't work only for IMyReactor. Now it didn't work with rotors. What I'm doing wrong? Code:

Code:
void Main(string argument)
{
	//variables
	string angle_rotorx;
	string angle_rotory;
	IMyMotorSuspension rotorx = GridTerminalSystem.GetBlockWithName("RotorX") as IMyMotorSuspension;
	IMyMotorSuspension rotory = GridTerminalSystem.GetBlockWithName("RotorY") as IMyMotorSuspension;
	
	//angles checking
	
	angle_rotorx = rotorx.DetailedInfo;...
What's wrong whith my scripts with detailed info?

Viewing all articles
Browse latest Browse all 903

Trending Articles