Setting a fireball's radius

Discussion in 'Plugin Development' started by Dsi_Mario, Dec 30, 2014.

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

    Dsi_Mario

    Hello,
    I have a minigame plugin, and that plugin uses fireballs as an attack. The problem with this is that you can friendlyfire your teammates with the radius. How would I be able to set a fireball's radius?
     
  2. Offline

    XgXXSnipz

  3. Offline

    DeadlyScone

    I assume you are referring to the blast radius?
    You will probably need to check if that player is on their team, if so cancel the explosion from the fireball to those players.

    If you want to disable the radius all togetger call setYield() and set it to 0
     
Thread Status:
Not open for further replies.

Share This Page