• 🏆 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!

Orb of Annihilation against destructibles

Status
Not open for further replies.
Hello guys,

Is there a simple solution to make Orb of Annihilation and Quill Spray hit destructibles?

If not, can we make a simple trigger that calculates the time of impact with the distance between the unit and the targeted destructible + the missile speed (which is 1500) and somehow when the unit attacks a destructible we wait a certain amount of time then decrease the destructible's life by 50 for example. (Math was never my friend)

There's no need for an exact solution or a complicated trigger with damage detection etc. Just decrease the life of the targeted destructible.

Thank you.
 
Level 20
Joined
Aug 29, 2012
Messages
826
I guess you can create an event with "Unit Begins Casting an ability", put your ability in the conditions, store the target destructible in a variable, then use a wait (distance between the caster and the target divided by missile speed) and kill/reduce destructible's health.

That wouldn't work for AoE damage though, but it should hit the destructible. If they are a valid target type for the ability, that is ^^
 
Status
Not open for further replies.
Top