Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

Give Starfall a Missle animation

Discussion in 'World Editor Help Zone' started by bobmanone, Jan 21, 2010.

  1. bobmanone

    bobmanone

    Joined:
    May 1, 2008
    Messages:
    70
    Resources:
    0
    Resources:
    0
    How do I change star fall to make it appear as a missile shoots from the caster to the targets, instead of a missile fall from the sky to the target?

    So for example

    Instead of when starfall is cast a bunch of starts fall out of the sky onto random units, a firebolt shoots out of the caster and hits random units.
     
  2. Shiroaisu

    Shiroaisu

    Joined:
    Jul 17, 2008
    Messages:
    202
    Resources:
    1
    Maps:
    1
    Resources:
    1
    I dont think you can do that with starfall... not sure, but you can try with some other spell
     
  3. bobmanone

    bobmanone

    Joined:
    May 1, 2008
    Messages:
    70
    Resources:
    0
    Resources:
    0
    like tranquility? i don't know another spell that work like starfall besides that, unless you mean like warstomp, which i have no idea how to edit to shoot missile as well
     
  4. Michael Peppers

    Michael Peppers

    Joined:
    Jun 23, 2009
    Messages:
    153
    Resources:
    1
    Models:
    1
    Resources:
    1
    You can remove the graphics and damage from Starfall and then make a dummy unit, created at the position of the caster, cast a spell with a certain damage that uses the Fireball model targeting some random enemies periodically as soon as Starfall is used (via triggers, of course =D)

    (Wow, such a long sentence it is :xxd:)
     
    Last edited: Jan 22, 2010
  5. Bribe

    Bribe

    Joined:
    Sep 26, 2009
    Messages:
    8,380
    Resources:
    25
    Maps:
    3
    Spells:
    10
    Tutorials:
    3
    JASS:
    9
    Resources:
    25
    This should solve your problem if you don't mind some units getting hit with the fireball more than once sometimes:

    • Starfall
      • Events
        • Event- Unit Starts Effect of Ability
      • Conditions
        • (Ability being cast) equal to Starfall
      • Actions
        • Unit - Add (Firebolt Array) to casting unit


    Here is the trick - Create a custom ability called Firebolt Array based off of Phoenix Fire with the missile art changed. Adjust the cooldown of Firebolt Array to something small like .2, the duration the same duration as the wave cooldown on Starfall, give the ability the Firebolt missile art/speed, and change Starfall targets allowed to none because the Phoenix Fire replaces the damage.

    Two things to consider -

    1) The Phoenix Fire will not damage magic immunes like true Ultimates can.
    2) I'll leave it up to you to figure out when to remove Firebolt Array from the hero. There are many ways to time a trigger to remove the ability when Starfall stops being cast.