1. 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!

  2. LOOKING FOR A VERSION OF SKRIPT?

    You can always check out our Wiki for downloads and any other information about Skript!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Help with item drop

Discussion in 'Skript' started by seaseasea, Nov 26, 2021.

  1. seaseasea

    seaseasea Member

    Joined:
    Nov 26, 2021
    Messages:
    3
    Likes Received:
    0
    Hi all, I'm doing Capture the Flag mode and at some point I need to reset the flag when a player dies.
    And in one of the main code snippets I use the following code:
    Code (Text):
    1. drop 1 red banner at {_deathGray}
    But this piece of code doesn't work and gives an error "Can't understand this condition/effect: ...".
    What should I specify instead of the red banner?
    I've looked through the documentation, but I still don't understand how to do it. I'm just starting to write in Skript, so maybe I'm missing something.
    Sorry for possible mistakes, I used translator (I'm from Russia).
     
  2. KokoPlayzYT

    KokoPlayzYT Member

    Joined:
    Aug 6, 2021
    Messages:
    20
    Likes Received:
    1
    it seems like skript doesn't know what is "red banner" but your code does work if you try only "banner" witch is kinda weird. if i will find i way ill let you know.
     
  3. seaseasea

    seaseasea Member

    Joined:
    Nov 26, 2021
    Messages:
    3
    Likes Received:
    0

    The strange thing is that, for example in this code:
    Code (Text):
    1. if event-block is red_banner:
    it determines the color of the banner. It's very strange.
     

Share This Page

Loading...