Wrapper that allows you to interface with the tiles in the Nexus tower.
public void SetColorblindHelpersEnabled(bool enabled)
(Client) Disables/enables the ability to see the colorblindness symbols on the tiles.
Arguments
public void SetNexusTileEnabled(int index, bool enabled)
(Client) Enable/disable a single standalone tile.
Arguments
(int) Index of the tile. [index]
(boolean) Whether it's enabled. [enabled]
public void SetNexusTileColor(int index, LuaColor color, int presetColor)
(Client) Set the color of a single standalone tile.
Arguments
(int) Index of the tile. [index]
(Color) The color of the tile. [color]
(PresetColor) The supplementary color for the colorblindness texture overlay. [presetColor]
public bool IsPlayerPresentOnNexusTile(PlayerControllerWrapper player, int index)
(Client) Check whether a player is on one of the standalone tiles.
Arguments
(PlayerController) The player. [player]
(int) Index of the tile. [index]
Returns: (bool) Whether the player is present on it.
public int GetNexusTileCount()
(Client) Get the amount of standalone tiles.
Returns: (int) The amount of standalone tiles.
public void SetNexusEdgeTileEnabled(int index, bool enabled)
(Client) Enable/disable a single standalone edge tile.
Arguments
(int) Index of the edge tile. [index]
(boolean) Whether it's enabled. [enabled]
public void SetNexusEdgeTileColor(int index, LuaColor color, int presetColor)
(Client) Set the color of a single standalone edge tile.
Arguments
(int) Index of the edge tile. [index]
(Color) The color of the edge tile. [color]
(PresetColor) The supplementary color for the colorblindness texture overlay. [presetColor]
public bool IsPlayerPresentOnNexusEdgeTile(PlayerControllerWrapper player, int index)
(Client) Check whether a player is on one of the standalone edge tiles.
Arguments
(PlayerController) The player. [player]
(int) Index of the edge tile. [index]
Returns: (bool) Whether the player is present on it.
public int GetNexusEdgeTileCount()
(Client) Get the amount of standalone edge tiles.
Returns: (int) The amount of standalone edge tiles.
public void SetCheckerboardTileColor(int tileSetIndex, LuaColor color)
(Client) Set the color of either the red or blue tile set of the checkerboard.
Arguments
(PresetColor) Either PresetColor.Red for the red part, or PresetColor.Blue for the blue part of the checkerboard. [tileSetIndex]
(Color) The new color. [color]
public void SetCheckerboardTileColorInterpolated(int tileSetIndex, LuaColor color, float time)
(Client) Smoothly interpolate the color of either the red or blue tile set of the checkerboard into a new color.
Arguments
(PresetColor) Either PresetColor.Red for the red part, or PresetColor.Blue for the blue part of the checkerboard. [tileSetIndex]
(Color) The new color. [color]
(float) The amount of time it'll take to interpolate from the previous color to the current one. [time]
public void ResetCheckerboardTiles()
(Client) Reset the color of the checkerboard tiles.
public bool IsPlayerPresentOnCheckerboardTile(PlayerControllerWrapper player, int tileColor)
(Client) Check whether a player is on one of the checkerboard tiles.
Arguments
(PlayerController) The player. [player]
(PresetColor) The color of the checkerboard tile - either PresetColor.Red, PresetColor.Blue or PresetColor.Yellow. [tileColor]
Returns: (bool) Whether the player is present on it.