** Before you get bored on the details of this particular inquiry, please read my later reply. There's a good reason for wanting to figure this out either way **
As per the documentation Sensors have a field LastDetectedEntity that is a IMyEntity. I figured I could infer a few things and put this to use in game via a programming block. The thing is attempting to use it in any practical implementation results in syntax errors. The variable can be accessed and saved to a generic Object...
Sensor Feild Usage: IMyEntity LastDetectedEntity
As per the documentation Sensors have a field LastDetectedEntity that is a IMyEntity. I figured I could infer a few things and put this to use in game via a programming block. The thing is attempting to use it in any practical implementation results in syntax errors. The variable can be accessed and saved to a generic Object...
Sensor Feild Usage: IMyEntity LastDetectedEntity