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

[Solved] Item use abilitys?

Status
Not open for further replies.
Level 20
Joined
Jul 14, 2011
Messages
3,213
Event - A unit is attacked (or GDD_Event becomes equal to 0.00 if you're using Weep's GUI Friendly Damage Detection System)

Condition - Attacking unit has item of type *YourItem*

Actions - set your position, Create a Dummy unit on that position, add 'War stomp' to Dummy Unit, Add short expiration timer to unit, order Unit to cast 'War Stomp', remove the point.

Anyway, that would be really weird. I'm guessing you want to create the special effect, or deal Area Damage... Both have better ways to do than casting WarStomp.
 
Level 8
Joined
Dec 9, 2009
Messages
397
The skill needs to be triggered anyway, so using dummy isn't a big deal it's just a few more lines.

spawn dummy
give dummy a timed life
give dummy skill
order dummy to cast skill


Or you could pick all units in area and have the unit damage them all just be sure to clean leaks either way.
 
Level 20
Joined
Jul 14, 2011
Messages
3,213
Rufus, you could give more information about what you want to achieve with all the details you want, every time you post something :) It makes everyone life easier :D
 
Level 8
Joined
Jan 8, 2010
Messages
493
a certain ability that doesn't require triggering is the item ability Orb of Slow. you'll see that it has chances (hit Heroes, Summons and Units) and a Skill data. add your skill and percent chances on it. though i tested it on War Stomp and it doesn't seem to work. But it should work on other skills like Chain Lightning and Slow. maybe it doesn't work on instant spells like War Stomp but will work on targetable spells (haven't tested this yet, but i'm sure using Chain Lightning will work).
 
Level 20
Joined
Jul 14, 2011
Messages
3,213
Lol... I keep learning from other people threads. I've been wondering for over a week how to make a 'Mjollnir' effect :p and how's that was an Orb Effect. Now I know.
 
Status
Not open for further replies.
Top