GameInterfaceAPI

Updated 7 months ago

GameState

Use GameState to get information about the games current state.

AlivePlayerCount - Count of living players.

ShipState - The state that the ship is in. Ships states are: InOrbit, OnMoon, and LeavingMoon.

PlayerDied - Executes after a players dies.

LandOnMoon - Executes after the ship has fully landed on a moon.

WentIntoOrbit - Executes after the ship has fully went into orbit.

ShipStartedLeavingMoon - Executes when the ship has started taking off.

GameTips

Use GameTips to display information on the players HUD using the tip panel. GameTips automatically handles tips overlapping using a tip que system.

ShowTip - Adds a tip to the tip que with a header and body.