• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

[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