Space Engineers

Space Engineers

[Legacy] Conveyor Hinges - transfer items flexibly
This topic has been locked
Arbiter 10 Mar, 2019 @ 1:37pm
Problem with the API
When I try to get DetailedInfo from a hinge, I get a different text than what I see in the Control pannel.

Do you have any Idea why this happens?

More Info :
I try to get the actual Angle of the block, in order to do that I do:
string info = hinge.DetailedInfo;
string CAngString = System.Text.RegularExpressions.Regex.Replace(info, "[^0-9]", "");
int angle = Convert.ToInt32 (CAngString);

However the value returned is always "15


Thank for the info
< >
Showing 1-1 of 1 comments
Arbiter 10 Mar, 2019 @ 1:45pm 
Update, I found out there is an "Angle" Property, which I used.
< >
Showing 1-1 of 1 comments
Per page: 1530 50