Interface IMyShipController
Describes ship controller block (cockpit/remote control/cryopod) (mods interface)
Inherited Members
Namespace: Sandbox.ModAPI
Assembly: Sandbox.Common.dll
Syntax
public interface IMyShipController : IMyTerminalBlock, IMyCubeBlock, IMyEntity, IMyShipController, IMyTerminalBlock, IMyCubeBlock, IMyEntity, IMyControllableEntity, IMyTargetingCapableBlock
Properties
HasFirstPersonCamera
Gets if this ship controller contains a first-person camera view.
Declaration
bool HasFirstPersonCamera { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsDefault3rdView
If player gets into this cockpit for the first time, the camera is in 3rd view
Declaration
bool IsDefault3rdView { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsShooting
Gets if the ship is shooting selected weapons.
Declaration
bool IsShooting { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
LastPilot
Get the last character that was piloting the controller.
Declaration
IMyCharacter LastPilot { get; }
Property Value
Type | Description |
---|---|
IMyCharacter |
Pilot
Get the character that is currently piloting the controller.
Declaration
IMyCharacter Pilot { get; }
Property Value
Type | Description |
---|---|
IMyCharacter |