• 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/animation

Status
Not open for further replies.
Level 4
Joined
Oct 13, 2009
Messages
43
Hi, guys, how to make unit missle (Arrow) explode, when it reaches its destination? P.s i have imported costom model "Ballista" im map,so as we know ballista shoots giant arrows and i want that arrow 2 explode when hits target,ground ect... some help for bigginer here give me trigger code or something )
 
You can accomplish this by using Bribe's DamageEngine.
His DamageEngine can differentiate between damage dealt by attacks, spells and triggers.

You'd have to create a new trigger with an event "DamageEvent becomes equal to 1.00" and you'd check if the DamageEventType is equal to 0 and if the unit-type of DamageEventSource is a Ballista.
If that's true, you'd create and destroy a special effect of an explosion, else, nothing. :)
 
Status
Not open for further replies.
Top