Solved How to get the position of an arrow when it lands

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

chunkbanned

Member
Oct 21, 2023
4
0
1
24
I've been puzzled on how to do this and I have no clue even after checking the docs and google.
Any ideas?
 
Hey, i dont know what exactly do you need it for and in which event you will use it,
but i suppose it will be something like "on projectile hit" you can check it like that:
Code:
if location of event-block is location(x, y, z, world "world"):
    #rest of the code
 
Code:
on projectile hit:
    set {_block} to block 0.1 in front projectile
    wait 1 tick
    send {_block} to shooter

The code is this at the moment, always returns as air...
 
my question is, why do you want block 0.1 in front of the projectile?
 
I am trying every number, sometimes it shows as the block i want but most of the time it just shows as air
 
huh, you could have just used event-block, but okay. Mark post as solved