Assembly: VRage.Game.dll

public interface IMyControllableEntity

Describes that player can take under control (mods interface)

Properties

Member Description
CanSwitchLandingGears Gets if entity can switch landing gears
ControllerInfo Gets information about who controls this Entity
EnabledDamping Gets if Damping enabled
EnabledHelmet Gets if helmet is opened
EnabledLeadingGears Gets if at least one leading gear is enabled
EnabledLights Gets if lights are enabled
EnabledReactors Gets if grid is powered
EnabledThrusts Gets if thrusts are enabled
Entity Gets information which entity is being controlled
ForceFirstPersonCamera Gets or sets if camera should be first person
IsAutopilotControlled Gets whether the entity is controller by autopilot
LastMotionIndicator Gets last motion indicator. User input W/A/S/D Space/C
LastRotationIndicator Gets last rotation indicator. Z used for RollIndicator
PrimaryLookaround When false, blocks 3rd view look around
RelativeDampeningDistance Allows you to set a custom max distance which relative dampening to another entity will remain active.
RelativeDampeningTarget Allows you to get or set the relative dampening entity.

Methods

Member Description
Crouch() Only IMyCharacter has implementation for this method.
Die() Makes character dead.
Down() Move direction : down. Only IMyCharacter has implementation for this method.
DrawHud(IMyCameraController, long) Updates hud logic, connected to entity
GetHeadMatrix(bool, bool, bool, bool) Gets head of character that controls this
Jump(Vector3) Character jump. Only IMyCharacter has implementation for this method.
MoveAndRotate(Vector3, Vector2, float) Defines user input. Call MoveAndRotateStopped() on user input finished
MoveAndRotateStopped() Should be called when input is finished
PickUp() Forwarding this action to Use(UseActionEnum, IMyEntity) with argument PickUp
PickUpContinues() Forwarding this action to Use(UseActionEnum, IMyEntity) with argument PickUp
ShowInventory() Shows inventory gui of controlled Entity
ShowRemoteAccessMenu() Shows remote access menu
ShowTerminal() Shows terminal gui
SwitchDamping() Switches damping state
SwitchHandbrake() Switches handbrake state
SwitchHelmet() Switches helmet open/closed state
SwitchLandingGears() Switches landing gears state
SwitchLights() Switches lights state
SwitchReactors() Switches reactors state
SwitchReactorsLocal() Switches handbrake state
SwitchThrusts() Turns on jetpack on character
SwitchWalk() Switch between walk / run mode. Only IMyCharacter has implementation for this method.
Up() Move direction : up. Only IMyCharacter has implementation for this method.
Use()
UseContinues()

Inheritors: