Solved Set variable to armor color

  • 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 comminuty!

    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.

uGim

Member
Jan 19, 2018
25
0
0
22
Can armor color be saved to a variable?
Like this:
code_language.skript:
Set {color} to player's helmet's color

I have also tried it with NBT but it says that NBT can only be saved temporarily and will be deleted when server stops/restarts.
Like this:
code_language.skript:
set {color} to player's helmet's nbt

Maybe being able to save RBG would do it but I have tried many ways yet no working result.
 
tuske has the expression youre looking for
code_language.skript:
set {color::*} to rgb color of player's helmet
broadcast "R: %{color::1}% G: %{color::2}% B: %{color::3}%"
 
Doesn't work.
"{color::*} can't be set to 'rgb color of player's helmet' because the latter is not an object" is the error it says.
 
Could you please share a link to download of Bensku's skript for minecraft 1.8? I'd appreciate it very much.
 
Status
Not open for further replies.