Ankoki / SkJade

A Skript Addon with miscellaneous syntax to make skripting easier.
12 stars 7 forks source link

[SUGGESTION] Consistent Syntax for teleporting holograms #36

Open Warpedtimes opened 11 months ago

Warpedtimes commented 11 months ago

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}

Ankoki commented 11 months ago

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 commented 11 months ago

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 commented 11 months ago

umm i kinda missclicked