Custom Holograms
  • Introduction
    • Commands & Permissions
      • Create
      • Delete
      • Rename
      • Set Line
      • Insert Line
      • Add Line
      • Remove Line
      • Teleport Here
      • Align
      • Move
      • Boldness
      • Load
      • Unload
      • Load All
      • Unload All
      • Disable Script
      • List
      • Teleport To
      • Info
      • Reload
      • Docs
      • Support
  • Getting Started
    • Creating Holograms
    • Deleting Holograms
    • Editing Lines
    • Editing Holograms
  • API
    • Helper Functions
      • Holograms_ReplaceEmptyValues()
      • Skent_getRawNames()
    • Hologram Functions
      • Holograms_TeleportPlayerTo()
      • Holograms_TeleportHere()
      • Holograms_Create()
      • Holograms_Delete()
      • Holograms_SetLine()
      • Holograms_InsertLine()
      • Holograms_AddLine()
      • Holograms_RemoveLine()
      • Holograms_LoadAll()
      • Holograms_UnloadAll()
      • Holograms_ListAll()
      • Holograms_ListLoaded()
      • Holograms_ListUnloaded()
      • Holograms_GetAll()
      • Holograms_GetLoaded()
      • Holograms_GetUnloaded()
      • Holograms_Load()
      • Holograms_Unload()
      • Holograms_Info()
      • Holograms_Align()
      • Holograms_Move()
      • Holograms_Rename()
      • Holograms_SetBoldness()
      • Holograms_GetLines()
Powered by GitBook
On this page
  • Full Function
  • Parameters
  • Return Values
  • Usage
  1. API
  2. Hologram Functions

Holograms_Align()

Align a hologram on its X, Y, and/or Z axis.

Full Function

Holograms_Align(id: text, levels: text)

Parameters

Name
Type
Description

id

text/string

ID of target hologram

levels

text/string

The levels that that hologram should be aligned with. Can contain "X", "Y", "Z", or a combination of all/any of them.

Return Values

Success

Error - Hologram is not loaded

Usage

set {_align} to Holograms_Align("hologram_id", "XY")
if {_align} is 0:
    send "Aligned hologram on the X and Y axis!"
PreviousHolograms_Info()NextHolograms_Move()

Last updated 3 years ago