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.

Homing Particles?

Discussion in 'Skript' started by Elsmok, Jul 15, 2017.

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

    Elsmok Member

    Joined:
    Jul 3, 2017
    Messages:
    25
    Likes Received:
    1
    Hello I am using skDragon on MC1.8.8 and i was wondering if there is a way that particles could home in/follow the targeted person, and also if there is a way i could determine the speed of the particle and for it to damage the entity when it reaches it.


    bump
     
    #1 Elsmok, Jul 15, 2017
    Last edited: Jul 16, 2017
  2. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    227
    I looked into this aswell and at the time i couldn't find a way which would do it perfectly but i used this:
    Code (Skript):
    1. if target living entity is set:
    2.     loop 10 times:
    3.         drawLine particle smokelarge, XYZ 0.5, 0.5, 0.5, center player, target location of target living entity, id "%random number between 0 and 100000%", rainbowMode false, solid false, density 2, length 0, zigZag count 0, height 0, visibleRange 100, displacementXYZ 0, 0, 0, pulseDelay 1
    4.         drawLine particle smoke, XYZ 2, 2, 2, center player, target location of target living entity, id "%random number between 0 and 100000%", rainbowMode false, solid false, density 2, length 0, zigZag count 0, height 0, visibleRange 100, displacementXYZ 0, 0, 0, pulseDelay 1
    If your you should take a look at my "SkyWand" resource :emoji_slight_smile: .
     
  3. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    227
    I think i have come across SkyWands before
     
  4. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    227
    Were are you from?
     
  5. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    227
    Uk, Why?
     
  6. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    227
    Maybe you were Dutch, in our country those magic wands like my resource are very popular :emoji_slight_smile: .
     
Thread Status:
Not open for further replies.

Share This Page

Loading...