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.

Block Breaking Particles

Discussion in 'Skript' started by CKR367, Mar 5, 2017.

Thread Status:
Not open for further replies.
  1. CKR367

    CKR367 Member

    Joined:
    Feb 1, 2017
    Messages:
    64
    Likes Received:
    2
    I am trying to create a particle effect with SkRayFall and Skript 2.2, but it isn't working, I even got it from the Effects list. What am I doing wrong?

    Code (Skript):
    1. create 200 "blockdust" particles at (-2360, 139, -884) (with data of chest) for player
    --- Double Post Merged, Mar 6, 2017, Original Post Date: Mar 5, 2017 ---
    bump! I have tried so many different ways of creating it, I don't know what I am doing wrong, HELP!
     
  2. ShaneBee

    Moderator Resource Staff Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    225
    1. That's not a valid location, you're just providing it three numbers. You can create a location with the location function though, you do 'location(x, y, z, world)'.
    2. The create particles syntax says you need to specify "for player" before adding additional stuff like the data.
    3. You said you got it from the effects list, but the EffectLib Particle List that the docs links to has it listed as "Block Dust", not "blockdust" (While the caps probably don't matter, the space probably does).

    Code (Skript):
    1. create 200 "Block Dust" particles at location(-2360, 139, -884, player's world) for player with data of chest
    Note I don't use SkRayFall's particles so there may still be some issues with that, but those are all of the issues I see at first glance.
     
  3. ShaneBee

    Moderator Resource Staff Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    225
    I changed the code around a bit, and it now says it can't understand the condition/effect.

    Code (Skript):
    1. show 200 "Block Dust" particles at location of player for player with data of chest
     
  4. ShaneBee

    Moderator Resource Staff Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    225
    Just use skDragon for it:
    Code (Skript):
    1.  
    2. drawDot count 200, particle blockdust, material chest, center player, isSingle true, player, visibleRange 16, keepFor 5 seconds
    3.  
     
  5. ShaneBee

    Moderator Resource Staff Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    225
    I mean, I will if that's the only option, but I am trying to make the most out of my current addons and won't install more if I don't have to.
     
  6. ShaneBee

    Moderator Resource Staff Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    225
    I'm not sure why it's saying that, the syntax looks correct to me.
     
  7. ShaneBee

    Moderator Resource Staff Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    225
    I guess I will install SkDragon then and use that, thanks for the help :emoji_slight_smile:
    --- Double Post Merged, Mar 8, 2017, Original Post Date: Mar 8, 2017 ---
    I keep getting this error in console when I use that...


    Version Information:
    Skript: 2.2-Fixes-V9
    Bukkit: 1.8.8-R0.1-SNAPSHOT
    Minecraft: 1.8.8

    [07:52:22 ERROR]: #!#! Stack trace:
    [07:52:22 ERROR]: #!#! ch.njol.skript.SkriptAPIException: UnparsedLiterals must
    be converted before use
     
Thread Status:
Not open for further replies.

Share This Page

Loading...