Space Engineers

Space Engineers

[Legacy] Conveyor Hinges - transfer items flexibly
此主题已被锁定
Arbiter 2019 年 3 月 10 日 下午 1:37
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
< >
正在显示第 1 - 1 条,共 1 条留言
Arbiter 2019 年 3 月 10 日 下午 1:45 
Update, I found out there is an "Angle" Property, which I used.
< >
正在显示第 1 - 1 条,共 1 条留言
每页显示数: 1530 50