Solved Retrieving arrow speed

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

Hackusater

Active Member
Aug 5, 2017
74
2
8
34
Is there a way to get arrow speed using on shoot instead of on entity shoot?
code_language.skript:
on entity shoot:
    if projectile is arrow:
        set {test} to arrow speed
        #this works
   
on shoot:
    if projectile is arrow:
        set {test} to arrow speed
        #this is what I am trying to get to work (it doesn't work)
 
Please look at what he asked before answering.

And not from that event, I guess you could save the speed from the entity shoot event and then use it in the shoot event or you could also use the velocity expression to get the arrow's velocity as a vector.
Yeah, I am just going to use %entities%'s velocity from the velocity expression. Thanks!
 
Last edited:
Status
Not open for further replies.