1. Are you planning to upload your awesome spell or system to Hive? Please review the rules here.
    Dismiss Notice
  2. Updated Resource Submission Rules: All model & skin resource submissions must now include an in-game screenshot. This is to help speed up the moderation process and to show how the model and/or texture looks like from the in-game camera.
    Dismiss Notice
  3. DID YOU KNOW - That you can unlock new rank icons by posting on the forums or winning contests? Click here to customize your rank or read our User Rank Policy to see a list of ranks that you can unlock. Have you won a contest and still havn't received your rank award? Then please contact the administration.
    Dismiss Notice
  4. The poll for Hive's 12th Concept Art Contest is up! Go cast your vote for your favourite genie!
    Dismiss Notice
  5. Travel to distant realms and encounter scenes unknown to the common folk. The Greatest of Adventures is upon us with the 8th Cinematic Contest. Join in on a fun ride.
    Dismiss Notice
  6. The 18th Icon Contest is ON! Choose any ingame unit and give him/her Hero abilities. Good luck to all.
    Dismiss Notice
  7. Contestants are to create a scene set in the Stone Age. Come and see what you can come up with. We wish you the best of luck!
    Dismiss Notice
  8. Colour outside the lines! Techtree Contest #13 is a go. The contest is optionally paired.
    Dismiss Notice
  9. Greetings cerebrates, our Swarm needs new spawners that will have numerous children. Join the HIVE's 31st Modeling Contest - Spawners and Spawned! The contest is optionally paired.
    Dismiss Notice
  10. Check out the Staff job openings thread.
    Dismiss Notice
Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

Fly Spell

Submitted by Blue_Spartan
This bundle is marked as substandard. It may contain bugs, not perform optimally or otherwise be in violation of the submission rules.
Procedure:
Open the World Editor.
Go to the object editor and create two spells: one based off of Metamorphosis and the other based off of Shockwave.
Name the Metamorphosis spell "Fly Trick" and the Shockwave spell "Fly".
Change the tooltips to whatever you want, then disable ALL DAMAGE PROPERTIES in the Shockwave spell, change everything that has to do with range AoE and other stuff to 0. In other words: the spell "Jump" is referred to as a dummy spell.
Make the Alternate Unit Form for the Fly Trick spell a Gryphon Rider.
Open the trigger editor.
Delete the Map Initialization trigger and make a trigger named "Jump".
Trigger Code:
Jump
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Jump
Actions
Unit - Add Fly Trick to (Casting unit)
Unit - Remove Fly Trick from (Casting unit)
Unit - Turn collision for (Casting unit) Off
Unit - Order (Casting unit) to Move To (Target point of ability being cast)
Animation - Change (Triggering unit) flying height to 500.00 at 500.00
Wait 0.90 seconds
Animation - Change (Triggering unit) flying height to 0.00 at 1500.00
Wait 0.90 seconds
Unit - Turn collision for (Casting unit) On

NOTE: DO NOT GIVE "Fly Trick" TO ANY UNIT: METAMORPHOSIS CAN CAUSE ERRORS IN MAPS WHEN SET TO A DIFFERENT UNIT! YOU COULD GET A FATAL ERROR RESULTING IN LOSS OF DATA!

MAP BY Blue Spartan AND TRIGGER BY Magtheridon96

Keywords:
Fly Spell
Contents

Just another Warcraft III map (Map)

Reviews
Moderator
Visit this thread: Give units the ability to fly
  1. Almia

    Almia

    Joined:
    Apr 24, 2012
    Messages:
    4,860
    Resources:
    35
    Spells:
    30
    Tutorials:
    4
    JASS:
    1
    Resources:
    35
    What Did you do on posting that trigger?
    this is the Better one
    Trigger

    • Jump
    • Events
    • Unit - A unit Starts the effect of an ability
    • Conditions
    • (Ability being cast) Equal to Jump
    • Actions
    • Unit - Add Fly Trick to (Casting unit)
    • Unit - Remove Fly Trick from (Casting unit)
    • Unit - Turn collision for (Casting unit) Off
    • Unit - Order (Casting unit) to Move To (Target point of ability being cast)
    • Animation - Change (Triggering unit) flying height to 500.00 at 500.00
    • Wait 0.90 seconds
    • Animation - Change (Triggering unit) flying height to 0.00 at 1500.00
    • Wait 0.90 seconds
    • Unit - Turn collision for (Casting unit) On


    You must learn BB code typing.
    Search it on hive.

    And also you use waits,its not mui you spell will be rejected also learn how to use hashtables.they are much better.
     
    Last edited by a moderator: Apr 25, 2012
  2. NBalfa

    NBalfa

    Joined:
    Aug 20, 2010
    Messages:
    70
    Resources:
    0
    Resources:
    0
    yea dont use waits on spells because then your spells can be bugged easily
     
  3. Dat-C3

    Dat-C3

    Joined:
    Mar 15, 2012
    Messages:
    2,470
    Resources:
    10
    Models:
    1
    Maps:
    5
    Spells:
    3
    Tutorials:
    1
    Resources:
    10
    Btw Radamantus don't double post.

    This would make it MUI
    [trigger=Jump]
    Events
    Unit - A unit Starts the effect of an ability
    Conditions
    (Ability being cast) Equal to Jump
    Actions
    Unit - Add Fly Trick to (Triggering unit)
    Unit - Remove Fly Trick from (Triggering unit)
    Unit - Turn collision for (Triggering unit) Off
    Unit - Order (Triggering unit) to Move To (Target point of ability being cast)
    Animation - Change (Triggering unit) flying height to 500.00 at 500.00
    Wait 0.90 seconds
    Animation - Change (Triggering unit) flying height to 0.00 at 1500.00
    Wait 0.90 seconds
    Unit - Turn collision for (Triggering unit) On
    [/trigger]

    Indexing is better then hashtables still, some disagree that they're "much" better.
    As well waits do not make it Non-MUI, make sure you know when your trying to help that you know what your talking about, but yeah this will be rejected for being too simple.
    Also your leaking a point, Target Point of ability being cast is the one leaking, and why don't you use crow form and remove it at same time? It is much easier and works for all units, or are you just trying to use demon hunters animation?
     
  4. mark1234

    mark1234

    Joined:
    Oct 27, 2011
    Messages:
    1
    Resources:
    0
    Resources:
    0
    Is this spell the same like storm crow form or raven form? I want a spell that can fly and land to ground for my dragon models :D. If its not. Can someone post a trigger like the storm crow form.