Assembly: VRage.Game.dll

public interface IMyGridJumpDriveSystem

Interface for MyGridJumpDriveSystem in IMyCubeGrid

Properties

Member Description
IsJumping True if the grid is in the animation to jump
Jumped True when the grid finally teleports

Methods

Member Description
AbortJump(int) Ends the jump for the provided reason 0 = None, 1 = Static, 2 = Locked, 3 = ShortDistance, 4 = AlreadyJumping, 5 = NoLocation, 6 = Other
FindSuitableJumpLocation(Vector3D) Gets a safe position at the desired location (not overlapping stuff)
GetJumpDriveDirection() Gets the direction vector the jump will occur (includes magnitude)
GetJumpDriveDirectionNormalized() Gets the normalized direction the jump will occur
GetJumpDriveTarget() Gets the target position the jump is attempting to reach
GetMaxJumpDistance(long) Gets the maximum possible jump distance with the current loadout
GetMinJumpDistance(long) Gets the minimum possible jump distance with the current loadout
GetRemainingJumpTime() Gets the time until the jump finally occurs
IsJumpValid(long) True if the grid could jump (does not check obstacles)
Jump(Vector3D, long, float) Makes the grid begin the jumping sequence (Call on server only!)
PerformJump(Vector3D) Performs a jump without the delay or animation (Call on server only!)
RequestJump(string, Vector3D, long, BoundingBoxD?, float, long?) Requests the pilot or local player to jump (Prompts the pilot with the jump UI, they can cancel the jump or say yes)
RequestJump(Vector3D, long, float, long?) Requests the pilot or local player to jump (Prompts the pilot with the jump UI, they can cancel the jump or say yes)