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

Using Units as Effects

Status
Not open for further replies.
Level 14
Joined
Oct 16, 2010
Messages
749
Hi all,

I'm trying to make a grenade system where they all have different explosions and AoE's and things. As the AoE's would be varied I thought I could use a unit as the explosion effect and size the unit based on the AoE. However when the units are created they don't play the explosion animation? I can't seem to get the animation to play in-game on the unit? Any ideas?
 
Level 5
Joined
Jan 19, 2018
Messages
126
Hi Karzama,

I have created a test map with an ability called Grenade Toss.
It uses special effects instead of creating dummy units.
As it levels, the number of special effects on the target unit increases. (Instead of scaling explosion sizes)
The ability is based off of Firebolt. The ability stuns the main target and damages units in an area.
Use the trigger I made in the map as a template for your grenade abilities if you like.

Hope this helps.
 

Attachments

  • test_caldera.w3x
    36.5 KB · Views: 44
Level 13
Joined
May 10, 2009
Messages
868
We need more information about how you are dealing with models and triggers. Could you show us some of your code that deals with the effects? Do those explosion models have any of the following animations: "stand", "birth", or "death"?
 
Status
Not open for further replies.
Top