Making a projectile target a player

Discussion in 'Plugin Development' started by techboy291, Feb 28, 2013.

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

    techboy291

    Hi,


    I was wondering if it's possible to make a projectile (ie., a fireball) target a player. And if it is possible, how? Also, don't ignore this post if you think it's impossible or too complicated. Please tell me. Thanks in advance! :)

    Bump

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 31, 2016
  2. Offline

    TheTinySpider

    Too difficult. It means you have need to have a scheduler running with a radius check for fireballs and set their volicity to you.

    Otherwise, you can spawn your own fireball if you want that.
    Check where it spawned from the player, invert all volicity so it comes to you, that'll work.
     
  3. Offline

    techboy291

    Okay, thanks. I thought that maybe if mobs could target players, projectiles could too.
     
Thread Status:
Not open for further replies.

Share This Page