This object is in archive! 

Add MyShipWelderStatus and/or IsWelding to IMyShipWelder

Shurlan shared this feedback 14 months ago
Not Enough Votes

I have not found a good way to figure out, if a welder is currently working or not. I would therefore like to see some additions to the ingame API in line with IMyShipConnector.

Either addition would be fine for my purposes but a proper status would be preferred for flexibility.

My proposal:

IsWelding: Returns true if the welder is currently welding (has power, block in range, has required building components, is enabled) and false otherwise.

Enum for status:

Welding: Like IsWelding.

MissingComponents: Like Welding but building components are missing.

ConstructableInRange: The welder is not enabled and a block that needs construction/repair is in range.

NoTask: No block that needs construction/repair is in range of the welder. (probably needs a better name)

Leave a Comment
 
Attach a file