• 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] Floating Damage and Spell

Status
Not open for further replies.
Level 7
Joined
Mar 13, 2008
Messages
228
Well, now I got 2 questions.

Floating Damage: I want a trigger that creates a floating text above a unit when you attack a unit and your damage is show above the attacked unit. Like in Defiance and other ORPGs.

A spell: Well I have a spell based on Flame strike (I have removed all the damage it gives), and I want every unit hit by the spell to get damage 4x the casters inttelect. I can do it with a spell that has only one target but with one that has many.


Can you help me?
 
Level 28
Joined
Mar 25, 2008
Messages
2,955
A spell: Well I have a spell based on Flame strike (I have removed all the damage it gives), and I want every unit hit by the spell to get damage 4x the casters inttelect. I can do it with a spell that has only one target but with one that has many.
Makre a region around the target point/unit of ability being cast.
Then add all units in the area of effect of the flame strike to a temporary unitgroup, last use a pick every unit in "unitgroup" and do -> Damage picked unit for Int of casting unit x4 function..
quite simple ;)
 
Status
Not open for further replies.
Top