Solved ArmorStands and names (where did the old forums go?)

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the community!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

Hyao

Active Member
Apr 1, 2017
73
4
8
There used to be a script called "MiniMe" that showed everyone really, really well, how to utilize every single feature an armor stand could provide within Skript, but it's gone, together with the old forums. :emoji_frowning:

Anyway, I was trying to name an armor stand, but I just can't seem to get it to work. set name doesn't show up, adding an NBT name doesn't let me color it, and the documentation sometimes just doesn't help. Does anyone know a good syntax to give armorstands colored names?

Also, bonus points if you can manage to delete one. Delete {stand} doesn't really work in something like
code_language.skript:
function armorstand(d: text , l: location):
    spawn an armor stand at {_l}
    set {_as} to last spawned armor stand
    add "{Small:1,Marker:1b,Invisible:1,Invulnerable:1,NoBasePlate:1}" to nbt of last spawned armor stand
    wait 0.5 seconds
    delete {_as}
as it just doesn't delete it. Doesn't even return an error, actually. Pretty annoying, these things.

Thanks for anything!
 
There used to be a script called "MiniMe" that showed everyone really, really well, how to utilize every single feature an armor stand could provide within Skript, but it's gone, together with the old forums. :emoji_frowning:

Anyway, I was trying to name an armor stand, but I just can't seem to get it to work. set name doesn't show up, adding an NBT name doesn't let me color it, and the documentation sometimes just doesn't help. Does anyone know a good syntax to give armorstands colored names?

Also, bonus points if you can manage to delete one. Delete {stand} doesn't really work in something like
code_language.skript:
function armorstand(d: text , l: location):
    spawn an armor stand at {_l}
    set {_as} to last spawned armor stand
    add "{Small:1,Marker:1b,Invisible:1,Invulnerable:1,NoBasePlate:1}" to nbt of last spawned armor stand
    wait 0.5 seconds
    delete {_as}
as it just doesn't delete it. Doesn't even return an error, actually. Pretty annoying, these things.

Thanks for anything!
Set name does work but you need To enable THE nametag visibilty you can do this with nbt
 
To kill an armor stand using skellet:
code_language.skript:
set {_e} to method "remove" from {_stand}
 
To kill an armor stand using skellet:
code_language.skript:
set {_e} to method "remove" from {_stand}
You can do the following now:
code_language.skript:
invoke method "remove" from {_armorStand}
 
Status
Not open for further replies.