• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Fly Spell

This bundle is marked as useful / simple. Simplicity is bliss, low effort and/or may contain minor bugs.
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
Visit this thread: Give units the ability to fly
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[/trigger]

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:
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?
 
Level 1
Joined
Oct 27, 2011
Messages
1
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.
 
Top