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

Mathematical Distance Problem

Status
Not open for further replies.
Level 6
Joined
Apr 27, 2006
Messages
186
Alright even a ten year old kid knows the equation distance = time * speed, it's just common sense. Well the my problem is simple. World Editor seems to be having problems with something that even a 10 year old kid knows. Here is an example of one of my abilities:
Spinning Bolt
Events
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to Spinning Bolt
Actions
Wait (Distance between target unit of ability being cast and triggering unit / MISSILE SPEED)

This ability either damages the target before or after the missile hits. Is it because of the missile's arc, or is it because the target can move during the wait time. If so please give me a new way to make abilities that are based on distance between the caster and the target, and missile speed.
 
Status
Not open for further replies.
Top