[SUGGESTION] Consistent Syntax for teleporting holograms
Warpedtimes opened this issue · comments
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}
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?
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
umm i kinda missclicked