• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Trigger] a spell that make unit fly

Status
Not open for further replies.
Level 28
Joined
Mar 25, 2008
Messages
2,955
>.<
So, base one ability (the activating one) off any no-target spell, and another one (the deactivating one) off another no-target spell and then use the following trigger:
  • Events
    • Unit - A unit starts the effect of an ability
  • Conditions
    • Ability being cast equal to *your activating ability*
  • Actions
    • Unit - Add crow form to (Triggering Unit)
    • Unit - Remove crow form from (Triggering Unit)
    • Animation - Change (Triggering Unit) flying height to 400 at 200
    • Unit - Remove *your activating ability* from (Triggering Unit)
    • Unit - Add *your deactivating ability* to (Triggering Unit)
and another one
  • Events
    • Unit - A unit starts the effect of an ability
  • Conditions
    • Ability being cast equal to *your deactivating ability*
  • Actions
    • Animation - Change (Triggering Unit) flying height to 0 at 200
    • Unit - Remove *your deactivating ability* from (Triggering Unit)
    • Unit - Add *your activating ability* to (Triggering Unit)
 
Level 22
Joined
Feb 4, 2005
Messages
3,971
Or you can also change the movement type to 'Fly' while the unit will still walk and can be targeted as ground and just use Animation - change unit's flying height as mentioned above with the triggers. If you want while in the air to be with his chest and face pointing the ground, you will have to really use a crow form with alternate unit the same unit with pitch angle -460 degrees (a value that can be changed from the object editor 2 lines below Icon- Scorecreen)
 
Status
Not open for further replies.
Top