Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SUGGESTION] Consistent Syntax for teleporting holograms #36

Open
Warpedtimes opened this issue Jul 24, 2023 · 3 comments
Open

[SUGGESTION] Consistent Syntax for teleporting holograms #36

Warpedtimes opened this issue Jul 24, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@Warpedtimes
Copy link

Warpedtimes commented Jul 24, 2023

The syntax for teleporting a hologram is not consistent with other hologram actions such as creating and adding lines when supplying the specific hologram.

teleport hologram with the id "hologramWithID" to {_loc}
The above code isn't correct whereas this code for deleting is
delete the hologram with the id "hologramWithID"

Instead you have to create a variable and use it like this
set {_holo} to hologram with id "hologramWithID"
teleport hologram with the id "hologramWithID" to {_loc}

@Warpedtimes Warpedtimes added the enhancement New feature or request label Jul 24, 2023
@Ankoki
Copy link
Owner

Ankoki commented Aug 8, 2023

Sorry it took me a while to see this, you aren't using the {_holo} variable you created, are you sure your example is correct?

@Warpedtimes
Copy link
Author

Oh man I completely used the wrong code snippet.

Yeah the below works,
teleport hologram {_holo} to {_loc}
but my problem is that you can only teleport it if you refer to a variable instead of being able to refer to it from the ID as you can for example when deleting or adding a line

@Warpedtimes
Copy link
Author

umm i kinda missclicked

@Warpedtimes Warpedtimes reopened this Aug 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants