Capes in Skript???

  • 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.

CassioTDS

Member
Jul 8, 2019
13
0
0
67
Hi! How could I make a player wear a cape when he joins? I saw the
Code:
 make player wear cape %itemstack%
but then I get that It cannot recognize this. Help.
 
https://docs.skunity.com/syntax/search/id:1478

Ok so its different when using skRayFall. I cant write an example cause im on my phone, but you can make a command that starts by saving a banner with a drawing in a local variable and then you use the skRayFall effect
Code:
make player wear cape {_capeVariable}
Because with skRayFall you have to specify the cape that you want through a banner so the cape has its drawings
 
https://docs.skunity.com/syntax/search/id:1478

Ok so its different when using skRayFall. I cant write an example cause im on my phone, but you can make a command that starts by saving a banner with a drawing in a local variable and then you use the skRayFall effect
Code:
make player wear cape {_capeVariable}
Because with skRayFall you have to specify the cape that you want through a banner so the cape has its drawings
Ok... But do you do like
Code:
 set {_capeVariable} to [What here????]
make player wear {_capeVariable}
 
Ok... But do you do like
Code:
 set {_capeVariable} to [What here????]
make player wear {_capeVariable}
well, you either set it to a banner with a custom nbt (and youll need an addon for that) OR you can do
Code:
type of player’s tool is banner item
set {_capeVariable} to player’s tool
make player wear {_capeVariable}
now when you execute the command, it will set the variable to the banner in your hand
 
Last edited:
well, you either set it to a banner with a custom nbt (and youll need an addon for that) OR you can do
Code:
type of player’s tool is banner
set {_capeVariable} to player’s tool
make player wear {_capeVariable}
now when you execute the command, it will set the variable to the banner in your hand
Now it says that it can't understand the condition/effect...
http://prntscr.com/s3tvge <-- Screenshot (Btw using skript 1.15)
http://prntscr.com/s3twug <-- Plugins screenshot
s3tvge
 
Nope. Still same error.
I'm using an older version of Skript which has a different aliases-english.sk file, so while it works for me it might not work for you as that's probably one of the things that was changed. Check your aliases file and search for what Skript recognizes as a banner.
 
Status
Not open for further replies.