Guided Arrows

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

    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.

JTNCrafter

Member
Jan 6, 2018
21
1
3
Hello!

I am troubled in how to make Guided Arrows. I would like it to look something like this:

code_language.skript:
on rightclick on diamond shovel:
    player has an arrow
    remove the arrow from player
    shoot an arrow as speed 2

I have NO IDEA how I can do this. I want to make it so that it can follow a player, but not the player that right clicked the diamond shovel. I do not even know if this works. If you can help me, that would be great. Thanks!
 
So I can use:

make targeted entity home towards player normally

I need to loop the player consistently. So how can I do this. I also would like it to be a player in the radius of 50 and to the closest entity to the player.

For example:
if entity is in the radius of 50
loop the entity
check for the nearest entity
while arrow is in the air
make targeted entity home towards player normally
 
Status
Not open for further replies.