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

IMyLandingGear.GetAttachedEntity()

$
0
0
This is a method, maybe unofficial since it wasn't described in the documentation so far, but it is there. It returns the entity of the locked object.

VRAGE.ModAPI.IMyEntity GetAttachedEntity()
Member of SpaceEngineers.Game.ModAPI.Ingame.IMyLandingGear

This is a small example in a script which was originally intended to quickly display actions and properties of a block in the Echo-output:

Code:
List<IMyTerminalBlock> blocks = new List<IMyTerminalBlock>();
List<ITerminalAction> actionList...
IMyLandingGear.GetAttachedEntity()

Viewing all articles
Browse latest Browse all 645

Trending Articles