| IMyCharacter Interface |
[This is preliminary documentation and is subject to change.]
[Missing <summary> documentation for "T:VRage.Game.ModAPI.IMyCharacter"]
Namespace: VRage.Game.ModAPI
public interface IMyCharacter
The IMyCharacter type exposes the following members.
| Name | Description | |
|---|---|---|
| BaseMass | ||
| CurrentMass | ||
| EnvironmentOxygenLevel | ||
| IsBot |
Returns true is this character is an AI character, otherwise false.
| |
| IsPlayer |
Returns true is this character is a player character, otherwise false.
| |
| SuitEnergyLevel |
Returns the amount of energy the suit has, values will range between 0 and 1, where 0 is no charge and 1 is full charge.
|
| Name | Description | |
|---|---|---|
| GetSuitGasFillLevel |
Returns the amount of gas left in the suit, values will range between 0 and 1, where 0 is no gas and 1 is full gas.
| |
| Kill | ||
| TriggerCharacterAnimationEvent |
Trigger animation event in the new animation system.
If there is a transition leading from current animation state having same name as this event,
animation state machine will change state accordingly.
If not, nothing happens.
|
| Name | Description | |
|---|---|---|
| OnMovementStateChanged |