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

Speedball?

Status
Not open for further replies.
Level 3
Joined
Dec 7, 2008
Messages
24
hello,
how to let units throw a item?
how to let units die when they get hit by item?
 
Level 8
Joined
Mar 12, 2008
Messages
437
Er... If you mean throwing an item from the inventory then just right click and then click the ground where you want.

Create a dummy unit that has the regular things, but with an attack instead of without. Set damage base to how much damage you want it to do minus 1(for example if you want it to do 100 damage, set it to 99), number of dice = 1 and damage sides per die = 1. Set cooldown to 0.01, animation backswing point = 0, animation damage point = 0. I think you would prefer either damage type Spells or Chaos.

Don't forget to use Weapon type: Artillery, and don't forget to enable the attack. You also need to set Acquisition range and Range to whatever the maximum range for the item is. Do whatever you like with the rest of the Attack stuff.

Then use this trigger:

  • Raspberry cheesecake
    • Events
      • A unit starts the effect of an ability
    • Conditions
      • (Ability being cast) equal to [Your ability]
    • Actions
      • Unit - Create 1 [Attacker Dummy] for (Owner of (Casting unit)) at (Position of (Casting unit))
      • Unit - Add a 0.15 second Generic expiration timer to (Last created unit)
      • Unit - Issue order Attack Ground at (Target point of ability being cast)
 
Status
Not open for further replies.
Top