• 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.
  • It's time for the first HD Modeling Contest of 2025. Join the theme discussion for Hive's HD Modeling Contest #7! Click here to post your idea!

Blood From Target

Status
Not open for further replies.
Level 4
Joined
Dec 24, 2008
Messages
51
Hey guys, I would like to ask a simple(??:D) question if it's possible.
Whenever my unit attacks, how I can make the attacked unit to bleed?

I set Art - Target to BloodElfSpellThiefBlood but it seems this isn't the correct way.Any help ? Thanks and I will rep+
 
Level 16
Joined
Jul 21, 2008
Messages
1,121
Create some buff placing spell (Acid Bomb, Silence, Doom etc...) or Slow Poison (buff on attack) and implement this trigger:

  • Bleed
    • Events
      • Time - Every 1.00 seconds of game time
    • Conditions
    • Actions
      • Set TempGroup = (Units in (Playable map area))
      • Unit Group - Pick every unit in TempGroup and do (Actions)
        • Loop - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • ((Picked unit) has buff <Buff>) Equal to True
            • Then - Actions
              • Set TempPoint = (Position of (Picked unit))
              • Special Effect - Create a special effect at TempPoint using <Model Path>
              • Special Effect - Destroy (Last created special effect)
              • Custom script: call RemoveLocation(udg_TempPoint)
            • Else - Actions
      • Custom script: call DestroyGroup(udg_TempGroup)
If you want it wwithout buff, do this:

  • Bleed Without Buff
    • Events
      • Unit - A unit Is attacked
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • -------- Add conditions here --------
        • Then - Actions
          • Set TempPoint = (Position of (Attacked unit))
          • Special Effect - Create a special effect at <Model Path>
          • Special Effect - Destroy (Last created special effect)
          • Custom script: call RemoveLocation(udg_TempPoint)
        • Else - Actions
 
Level 8
Joined
Nov 29, 2008
Messages
462
All too difficult^^
I just make:

What happend?: A unit is under attack
Condition: None
Action: Create a special effect (effect) at the chest of triggering unti

Thats it :D
 
Status
Not open for further replies.
Top