• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

ability help

Status
Not open for further replies.
Level 3
Joined
Oct 14, 2009
Messages
33
i want to make an ability that makes you warp by the target and deal x damage (x being whatever i have the ability's damage be). Ive been at this ability for an hour and still cant get it to work, although i'm not the best trigger user...
Thx in advance.
 
yes, like the trigger "move unit (instantly) to position of (targeted unit)" sry for not being more clear in my 1st post.
 
Would this be what you are looking for?

  • Blink Strike
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to yourSpell
    • Actions
      • Set temp_point = (Position of (Target unit of ability being cast))
      • Set temp_point2 = (Position of (Triggering unit))
      • Unit - Cause (Triggering unit) to damage (Target unit of ability being cast), dealing 50.00 damage of attack type Spells and damage type Normal
      • Special Effect - Create a special effect at temp_point2 using Abilities\Spells\NightElf\Blink\BlinkTarget.mdl
      • Special Effect - Destroy (Last created special effect)
      • Unit - Move (Triggering unit) instantly to temp_point, facing temp_point
      • Set temp_point3 = (Position of (Triggering unit))
      • Special Effect - Create a special effect at temp_point3 using Abilities\Spells\NightElf\Blink\BlinkCaster.mdl
      • Special Effect - Destroy (Last created special effect)
      • Animation - Play (Triggering unit)'s Attack animation
      • Custom script: call RemoveLocation(udg_temp_point)
      • Custom script: call RemoveLocation(udg_temp_point2)
      • Custom script: call RemoveLocation(udg_temp_point3)
I'm using the blink effects for the extra "touch", since otherwise it's a very basic spell.
 
i'll try it and thx. I also would like to have an ability that does a random amount of damage from x-y damage in an aoe of x amount around the user. i hope thats clear enough.
 
Status
Not open for further replies.
Back
Top