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

Stealth - ambush ability

Status
Not open for further replies.
Level 10
Joined
Apr 3, 2006
Messages
535
Im looking for someone to make me a spell for a rogue/assain./ basically when the rogue is stealthyed they do an ambush move and cause the target to loose 30% of their health.

I tried to do a check using the wind walkbuff, but is doesn’t work you loose the buff when u unstlaath to attack.
 
Uh, one way would be to make it appear more like an ambush, when they're within range of their target and still Wind Walking, initiate the ambush. Calculate damage, move Ambusher into position/facing, play the desired animation and apply the damage.

Off the top of my head.
 
Shouldn't this be in the resource section?

Anyways, you could have something abit more complicated.

Have a trigger constantly checking if a unit has that buff.
Add that unit to a unit group.
If a unit doesn't have that buff remove it from the unit group

A unit attacks.
Unit is in unit group
Deal extra damage

Know there might be some issues with the check trigger that causes it to remove it from the unit group before he attacks. Make it double check or something.
 
I don't have the world editor open seeing as I should be doing homework and there is probably a better solution or Masken's might work better but maybe you could give the unit a morph ability instead of windwalk and morph him into an identical unit with w/e speed you want and permanent invisibility, then make a trigger with the condition of that unit attacking to set off the extra damage as well as a trigger to unmorph the unit if it ever leaves stealth. Sorry that I can't test the idea or think of a better one but that's what I thought of offhand and I really should be doing homework lol.
 
Status
Not open for further replies.
Back
Top