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.

Solved Deploy firework without duration

Discussion in 'Skript' started by sandor_1234, Feb 26, 2017.

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

    sandor_1234 Active Member

    Joined:
    Jan 26, 2017
    Messages:
    165
    Likes Received:
    5
    When i use skelletts infinte firework and set the duration to 0 the firework will still be launched into the air 4/5 blocks but i want it to deploy immediatly, is there a way to do this? Or another addon that can do this? I also tried achieving this using skdragon but this only has a drawSphere effect which doesn't "explode".
    I also tried things like:
    Code (Skript):
    1. set {_l} to location 5 block under player
    2. launch firework at {_l} timed 0
    But this will bugg in the ground if a player is on the ground and will take to long to reach the player
     
    #1 sandor_1234, Feb 26, 2017
    Last edited: Feb 26, 2017
  2. Best Answer:
    Post #2 by ShaneBee, Feb 26, 2017
  3. ShaneBee

    Moderator Resource Staff Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    225
    hms
    Code (Skript):
    1. launch firework at player timed 0
    2. loop firework rockets in radius 1 of player:
    3.     add "{LifeTime:2}" to nbt of loop-entity #SkStuff
    4.    
    5.     #force loop-entity to effect FIREWORK_EXPLODE #Skellett #It does not work
     
  4. ShaneBee

    Moderator Resource Staff Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    225
    spawned %entity% is for spawn effects, please read and download SkStuff.

    [​IMG]
     
  5. ShaneBee

    Moderator Resource Staff Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    225
    Thank you i misread your post.
     
Thread Status:
Not open for further replies.

Share This Page

Loading...