• 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.

Giant Slow Motion Meteor Fall

Status
Not open for further replies.
Level 7
Joined
Sep 2, 2011
Messages
349
Okay. I need help on creating a trigger to mimic this into a spell

Do watch it first. I only need the giant meteor fall at the end, not the other stuff on the casting. Basically, it's a giant meteor slowly falling into the ground.
 
Level 37
Joined
Mar 6, 2006
Messages
9,243
You can use a dummy unit and give it some meteor model.

When you create the unit, use Animation - set flying height to 1000 at 0. Animation - set flying height to 0 at 333.

The 1000 is the initial height, the 33 is the speed. It will take 1000/333 = 3 seconds to hit the ground. Adjust the values as you see fit. You can start a timer that expires after the calculated time and then kill the unit as it hits the ground.
 
Level 7
Joined
Sep 2, 2011
Messages
349
I can't seem to get it work. I did what you told me. Can you make a small demonstration for you to guide me on this simple spell?
 
Level 33
Joined
Mar 27, 2008
Messages
8,035
Maker is giving you a lesson about Physics calculation, Time.

Speed = Distance / Time
You have its Speed and Distance, now you only need Time

When you rearrange the equation, it becomes Time = Distance / Speed

Like for example, initial height of the meteor is 1000 above the ground level
And its Speed per second is 100

By applying the equation, Time = 1000 / 100 = 10, it will take 10 seconds to reach the ground

Here's the trigger for the action:
  • Animation - Change (Triggering unit) flying height to 0.00 at 100.00
It's under Animation - Change Unit Flying Height
Where Height is to the ground (0) and Rate is its Speed, (100)

Make sure that the dummy unit (meteor) is flying-type unit, so it can change its Flying Height.
 
Status
Not open for further replies.
Top