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

adding a debuff to a unit with GUI

Status
Not open for further replies.
Level 3
Joined
Mar 3, 2010
Messages
37
im sorry but i have been looking in the trigger tutorials and i cant find a way to do this any 1 know?
example i have an item that has finger of death skill and i want that when finger of death finishes casting the target unit gets a debuff for example cripple.
:vw_sad:
 
like...

  • Untitled Trigger 001
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Finger of Death (Archimonde)
    • Actions
      • Unit - Create 1 Necromancer for (Owner of (Triggering unit)) at (Position of (Target unit of ability being cast)) facing Default building facing degrees
      • Unit - Order (Last created unit) to Undead Necromancer - Cripple (Target unit of ability being cast)
 
  • Untitled Trigger 001
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Finger of Death (Archimonde)
    • Actions
      • Set TempLoc = (Position of (Target unit of ability being cast))
      • Unit - Create 1 Necromancer for (Triggering player) at TempLoc facing Default building facing degrees
      • Custom script: call RemoveLocation(udg_TempLoc)
      • Unit - Order (Last created unit) to Undead Necromancer - Cripple (Target unit of ability being cast)
 
Status
Not open for further replies.
Top